mirror of https://github.com/n1nj4sec/pupy.git
win32/acls - fix unicode
This commit is contained in:
parent
cb3be0a6c0
commit
694871e931
|
@ -1480,11 +1480,11 @@ def getfileowneracls(path):
|
|||
|
||||
if name:
|
||||
if domain:
|
||||
trustee = '{}\\{} ({})'.format(
|
||||
trustee = u'{}\\{} ({})'.format(
|
||||
domain, name, sid
|
||||
)
|
||||
else:
|
||||
trustee = '{} ({})'.format(
|
||||
trustee = u'{} ({})'.format(
|
||||
name, sid
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue