Don't kill+restart aircrack after 30s, wait 60s for target,

Also detect enabled/disabled interfaces when putting in/out of monitor mode.
This commit is contained in:
derv82
2018-04-19 12:59:11 -04:00
parent 1bbc7fefaf
commit adc7d37318
5 changed files with 23 additions and 8 deletions

View File

@@ -137,6 +137,7 @@ class AttackWEP(Attack):
self.fake_auth()
aircrack = Aircrack(ivs_file)
'''
elif Configuration.wep_restart_aircrack > 0 and \
aircrack.pid.running_time() > Configuration.wep_restart_aircrack:
# Restart aircrack after X seconds
@@ -144,6 +145,7 @@ class AttackWEP(Attack):
ivs_file = airodump.find_files(endswith='.ivs')[0]
Color.pl('\n{+} {C}aircrack{W} ran for more than {C}%d{W} seconds, restarting' % Configuration.wep_restart_aircrack)
aircrack = Aircrack(ivs_file)
'''
if not aireplay.is_running():