mirror of https://github.com/n1nj4sec/pupy.git
Support unicode search for creds
This commit is contained in:
parent
c2c916383d
commit
e240454a71
|
@ -43,7 +43,7 @@ def do(server, handler, config, modargs):
|
|||
categories = {}
|
||||
|
||||
try:
|
||||
for item in credentials.display(search=modargs.search, isSorted=modargs.sort):
|
||||
for item in credentials.display(search=modargs.search.decode('utf-8'), isSorted=modargs.sort):
|
||||
if item['category'] not in categories:
|
||||
categories[item['category']] = {
|
||||
'credtype': item.get('credtype'),
|
||||
|
|
Loading…
Reference in New Issue