WPS PixieDust attack support

Fixed encryption filtering.
More WPS-specific configurations.
Various fixes.
This commit is contained in:
derv82
2015-06-02 07:31:41 -07:00
parent 9a8dec818e
commit ff66d08308
10 changed files with 348 additions and 47 deletions

View File

@@ -35,7 +35,7 @@ class Process(object):
return True
def __init__(self, command, devnull=False):
def __init__(self, command, devnull=False, stdout=PIPE, stderr=PIPE):
''' Starts executing command '''
if type(command) == str:
@@ -50,8 +50,8 @@ class Process(object):
sout = Process.devnull()
serr = Process.devnull()
else:
sout = PIPE
serr = PIPE
sout = stdout
serr = stderr
self.start_time = time.time()