Custom number of deauths.

Also fixed bug with Airodump's ESSID decloaking: now specifies target access point.

Should resolve #31
This commit is contained in:
derv82
2017-06-11 17:36:41 -04:00
parent 433d30861d
commit b9c90b3d48
6 changed files with 20 additions and 8 deletions

View File

@@ -269,7 +269,7 @@ class Airodump(object):
deauth_cmd = [
'aireplay-ng',
'-0', # Deauthentication
'1', # Number of deauths to perform.
str(Configuration.num_deauths), # Number of deauth packets to send
'--ignore-negative-one'
]
for target in self.targets:
@@ -290,7 +290,7 @@ class Airodump(object):
Process(deauth_cmd + ['-a', target.bssid, iface])
# Deauth clients
for client in target.clients:
Process(deauth_cmd + ['-c', client.bssid, iface])
Process(deauth_cmd + ['-a', target.bssid, '-c', client.bssid, iface])
if __name__ == '__main__':
''' Example usage. wlan0mon should be in Monitor Mode '''