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

@@ -322,7 +322,8 @@ class Aireplay(Thread):
return None
@staticmethod
def deauth(target_bssid, essid=None, client_mac=None, num_deauths=1, timeout=2):
def deauth(target_bssid, essid=None, client_mac=None, num_deauths=None, timeout=2):
num_deauths = num_deauths or Configuration.num_deauths
deauth_cmd = [
"aireplay-ng",
"-0", # Deauthentication