--5ghz scans *only* 5ghz networks (not 2ghz)
Also fixed ugly output when waiting for handshakes
This commit is contained in:
@@ -69,7 +69,7 @@ class Airodump(object):
|
|||||||
if self.channel:
|
if self.channel:
|
||||||
command.extend(['-c', str(self.channel)])
|
command.extend(['-c', str(self.channel)])
|
||||||
elif self.five_ghz:
|
elif self.five_ghz:
|
||||||
command.extend(['--band', 'abg'])
|
command.extend(['--band', 'a'])
|
||||||
|
|
||||||
if self.encryption:
|
if self.encryption:
|
||||||
command.extend(['--enc', self.encryption])
|
command.extend(['--enc', self.encryption])
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ class AttackWPA(Attack):
|
|||||||
while True:
|
while True:
|
||||||
if not deauth_proc or deauth_proc.poll() != None:
|
if not deauth_proc or deauth_proc.poll() != None:
|
||||||
# Clear line only if we're not deauthing right now
|
# 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.pattack("WPA", airodump_target, "Handshake capture", "Waiting for handshake...")
|
||||||
#Color.p('\r{+} {C}WPA-handshake attack{W}: ')
|
#Color.p('\r{+} {C}WPA-handshake attack{W}: ')
|
||||||
#Color.p('waiting for {C}handshake{W}...')
|
#Color.p('waiting for {C}handshake{W}...')
|
||||||
@@ -96,7 +96,7 @@ class AttackWPA(Attack):
|
|||||||
airodump_target = self.wait_for_target(airodump)
|
airodump_target = self.wait_for_target(airodump)
|
||||||
for client in airodump_target.clients:
|
for client in airodump_target.clients:
|
||||||
if client.station not in 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)
|
Color.pl('\r{+} discovered new {G}client{W}: {C}%s{W}' % client.station)
|
||||||
clients.append(client.station)
|
clients.append(client.station)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user