Lots of fixes.
1. WEP attack gracefully handles ctrl+c 2. Very verbose (-vv) prints out commands and output 3. Doesn't fetch WPS info when attacking WEP
This commit is contained in:
@@ -48,6 +48,14 @@ class Color(object):
|
||||
Color.p('%s\n' % text)
|
||||
Color.last_sameline_length = 0
|
||||
|
||||
@staticmethod
|
||||
def pe(text):
|
||||
'''
|
||||
Prints text using colored format with leading and trailing new line to STDERR.
|
||||
'''
|
||||
sys.stderr.write(Color.s('%s\n' % text))
|
||||
Color.last_sameline_length = 0
|
||||
|
||||
@staticmethod
|
||||
def s(text):
|
||||
''' Returns colored string '''
|
||||
|
||||
Reference in New Issue
Block a user