Bully: Stop if AP becomes locked
This commit is contained in:
@@ -127,6 +127,12 @@ class Bully(Attack, Dependency):
|
|||||||
Configuration.wps_fail_threshold), newline=True)
|
Configuration.wps_fail_threshold), newline=True)
|
||||||
self.stop()
|
self.stop()
|
||||||
return
|
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)
|
time.sleep(0.5)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user