From c72746ebeb9a36ea3f4b17a7db5d956676ff2910 Mon Sep 17 00:00:00 2001 From: VultureZZ Date: Tue, 21 Apr 2015 13:59:15 -0400 Subject: [PATCH] Client detection fix The len(row) < 14 was causing clients not to be detected, moving this further down the check order resolves this. --- wifite.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wifite.py b/wifite.py index 6d00564..ed1c02c 100755 --- a/wifite.py +++ b/wifite.py @@ -1512,11 +1512,10 @@ def parse_csv(self, filename): if len(row) < 2: continue if not hit_clients: - if len(row) < 14: - continue if row[0].strip() == 'Station MAC': hit_clients = True if row[0].strip() == 'BSSID' or row[0].strip() == 'Station Mac': continue + if len(row) < 14: continue enc = row[5].strip() wps = False if enc.find('WPA') == -1 and enc.find('WEP') == -1: continue