--5ghz scans *only* 5ghz networks (not 2ghz)

Also fixed ugly output when waiting for handshakes
This commit is contained in:
derv82
2017-05-14 19:03:13 -04:00
parent 2a5258ceef
commit 250e89b21e
2 changed files with 3 additions and 3 deletions

View File

@@ -69,7 +69,7 @@ class Airodump(object):
if self.channel:
command.extend(['-c', str(self.channel)])
elif self.five_ghz:
command.extend(['--band', 'abg'])
command.extend(['--band', 'a'])
if self.encryption:
command.extend(['--enc', self.encryption])

View File

@@ -53,7 +53,7 @@ class AttackWPA(Attack):
while True:
if not deauth_proc or deauth_proc.poll() != None:
# Clear line only if we're not deauthing right now
Color.clear_line()
Color.clear_entire_line()
Color.pattack("WPA", airodump_target, "Handshake capture", "Waiting for handshake...")
#Color.p('\r{+} {C}WPA-handshake attack{W}: ')
#Color.p('waiting for {C}handshake{W}...')
@@ -96,7 +96,7 @@ class AttackWPA(Attack):
airodump_target = self.wait_for_target(airodump)
for client in airodump_target.clients:
if client.station not in clients:
Color.clear_line()
Color.clear_entire_line()
Color.pl('\r{+} discovered new {G}client{W}: {C}%s{W}' % client.station)
clients.append(client.station)