WEP attack specification via command-line

This commit is contained in:
derv82
2015-06-05 05:37:52 -07:00
parent d7953358d6
commit 9563b9628b
3 changed files with 59 additions and 22 deletions

View File

@@ -54,15 +54,7 @@ class AttackWEP(Attack):
aircrack = None # Aircrack process, not started yet
wep_attack_types = [
'replay',
'chopchop',
'fragment',
'caffelatte',
'p0841',
'hirte'
]
for attack_name in wep_attack_types:
for attack_name in Configuration.wep_attacks:
# Convert to WEPAttackType.
wep_attack_type = WEPAttackType(attack_name)