danhuynh0803 / wifite

Automatically exported from code.google.com/p/wifite
GNU General Public License v2.0
1 stars 0 forks source link

patch for parse_csv, not parsing clients #139

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Using 
wifite.py from github, Rev 86
aircrack-ng 1.2 beta3
kubuntu 14.04

wifite never reported clients; looking at the parse_csv and the actual csv in 
/tmp, it seems hit_clients is never set, because the clients section in the csv 
has less than 14 columns.

--- wifite.py.orig      2013-08-17 19:21:10.000000000 -0300
+++ wifite.py   2014-05-12 20:48:29.767590528 -0300
@@ -1344,10 +1344,10 @@
                     if len(row) < 2:
                         continue
                     if not hit_clients:
-                        if len(row) < 14:
-                            continue
                         if row[0].strip() == 'Station MAC':
                             hit_clients = True
+                        if len(row) < 14:
+                            continue
                         if row[0].strip() == 'BSSID' or row[0].strip() == 'Station Mac': continue
                         enc = row[5].strip()
                         wps = False

Original issue reported on code.google.com by jsve...@it.eng.br on 13 May 2014 at 12:24

GoogleCodeExporter commented 9 years ago
Thanks a lot, works fine !

patch < parse_csv.patch

Original comment by jean.rui...@gmail.com on 26 Nov 2014 at 1:23

Attachments: