Adding 5ghz support

This commit is contained in:
derv82
2015-12-28 12:52:29 -05:00
parent 95b7296444
commit 746da03580
6 changed files with 21 additions and 7 deletions

View File

@@ -31,6 +31,7 @@ class Airodump(object):
if channel == None:
channel = Configuration.target_channel
self.channel = channel
self.five_ghz = Configuration.five_ghz
self.encryption = encryption
self.wps = wps
@@ -59,6 +60,9 @@ class Airodump(object):
]
if self.channel:
command.extend(['-c', str(self.channel)])
elif self.five_ghz:
command.extend(['--band', 'abg'])
if self.encryption:
command.extend(['--enc', self.encryption])
if self.wps: