Fix bug when airodump output for clients is unexpected/unparsable

This commit is contained in:
derv82
2017-05-18 00:14:49 -04:00
parent c4773c6d1a
commit c812edf630
3 changed files with 9 additions and 3 deletions

View File

@@ -170,6 +170,12 @@ class Bully(Attack):
if pixie_re:
self.state = "{R}Failed{W}"
# [+] Running pixiewps with the information, wait ...
pixie_re = re.compile(r".*Running pixiewps with the information").match(line)
if pixie_re:
self.state = "{G}Running pixiewps...{W}"
# [*] Pin is '80246213', key is 'password'
pin_key_re = re.compile(r"^\s*Pin is '(\d*)', key is '(.*)'\s*$").match(line)
if pin_key_re: