mirror of https://github.com/n1nj4sec/pupy.git
Fix flake8
This commit is contained in:
parent
c8744f1ddd
commit
b50d423420
|
@ -925,7 +925,7 @@ def getSidToken(token_sid):
|
||||||
if token_sid == SID_SYSTEM:
|
if token_sid == SID_SYSTEM:
|
||||||
sids = ListSids()
|
sids = ListSids()
|
||||||
for sid in sids:
|
for sid in sids:
|
||||||
if not 'winlogon' in sid[1].lower():
|
if 'winlogon' not in sid[1].lower():
|
||||||
continue
|
continue
|
||||||
|
|
||||||
hToken = gethTokenFromPid(sid[0], exc=False)
|
hToken = gethTokenFromPid(sid[0], exc=False)
|
||||||
|
|
|
@ -18,6 +18,10 @@ ignore = E722,
|
||||||
|
|
||||||
|
|
||||||
per-file-ignores =
|
per-file-ignores =
|
||||||
|
# Because of hack with global import
|
||||||
|
# Should be fixed somehow
|
||||||
|
packages/windows/all/winpty.py: F821
|
||||||
|
|
||||||
# X509 standard names are short
|
# X509 standard names are short
|
||||||
pupylib/PupyCredentials.py: E741
|
pupylib/PupyCredentials.py: E741
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue