From 250e89b21ef319bf00751d275b2d3068df656400 Mon Sep 17 00:00:00 2001 From: derv82 Date: Sun, 14 May 2017 19:03:13 -0400 Subject: [PATCH] --5ghz scans *only* 5ghz networks (not 2ghz) Also fixed ugly output when waiting for handshakes --- py/Airodump.py | 2 +- py/AttackWPA.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/py/Airodump.py b/py/Airodump.py index fd39eb0..277742f 100644 --- a/py/Airodump.py +++ b/py/Airodump.py @@ -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]) diff --git a/py/AttackWPA.py b/py/AttackWPA.py index d59239a..98b3902 100644 --- a/py/AttackWPA.py +++ b/py/AttackWPA.py @@ -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)