Bully: Stop if AP becomes locked

This commit is contained in:
derv82
2018-08-23 19:05:20 -07:00
parent 750fe086fa
commit 141934a7b1

View File

@@ -127,6 +127,12 @@ class Bully(Attack, Dependency):
Configuration.wps_fail_threshold), newline=True)
self.stop()
return
else:
if self.locked and not Configuration.wps_ignore_lock:
self.pattack('{R}Failed: {O}AP became {R}Locked{O}', newline=True)
self.stop()
return
time.sleep(0.5)