mirror of https://github.com/n1nj4sec/pupy.git
flake8
This commit is contained in:
parent
aadc31fbf5
commit
d1323cf02f
|
@ -1,6 +1,5 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
from pupylib.PupyModule import config, PupyModule, PupyArgumentParser
|
from pupylib.PupyModule import config, PupyModule, PupyArgumentParser
|
||||||
from pupylib.utils.rpyc_utils import redirected_stdio
|
|
||||||
|
|
||||||
__class_name__="LootMemory"
|
__class_name__="LootMemory"
|
||||||
|
|
||||||
|
@ -25,7 +24,7 @@ class LootMemory(PupyModule):
|
||||||
|
|
||||||
if args.action == 'start':
|
if args.action == 'start':
|
||||||
ok = start(poll=args.poll)
|
ok = start(poll=args.poll)
|
||||||
if ok:
|
if ok:
|
||||||
self.success('PwdMon has been started')
|
self.success('PwdMon has been started')
|
||||||
else:
|
else:
|
||||||
self.error('PwdMon has not been started')
|
self.error('PwdMon has not been started')
|
||||||
|
|
|
@ -114,7 +114,7 @@ class PwdMon(pupy.Task):
|
||||||
if result not in self.duplicates:
|
if result not in self.duplicates:
|
||||||
self.duplicates.add(result)
|
self.duplicates.add(result)
|
||||||
yield result
|
yield result
|
||||||
except Exception as e:
|
except Exception:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
def task(self):
|
def task(self):
|
||||||
|
|
Loading…
Reference in New Issue