hcxtools - solution for capturing wlan traffic and conversion to hashcat formats
Recently added a USB GPS receiver my raspberry pi to get locations of the access points.
Used  " hcxdumptool -i wlan1mon -o real.pcapng --enable_status=1 --use_gpsd " capture 
and the following line to output to get the results 
 
" hcxpcaptool  -E opt_E  -T opt_T  -g opt_g --nmea=opt_nmea -o opt_o -z opt_z.16800  real.pcapng " 
The issue I have is that it says it's "3017 track points written"  to the -g output file but when I open it, there is no track.

What am I doing wrong? I have checked the gps receiver is working.

Code:
root@The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali):~# hcxpcaptool  -E opt_E  -T opt_T  -g opt_g --nmea=opt_nmea -o opt_o -z opt_z.16800  real.pcapng

reading from real.pcapng

summary capture file:
---------------------
file name........................: real.pcapng
file type........................: pcapng 1.0
file hardware information........: aarch64
capture device vendor information: 00c0ca
file os information..............: Linux 4.19.66-Re4son-v8+
file application information.....: hcxdumptool 6.0.1 (custom options)
network type.....................: DLT_IEEE802_11_RADIO (127)
endianness.......................: little endian
read errors......................: flawless
minimum time stamp...............: 12.01.2020 16:55:44 (GMT)
maximum time stamp...............: 12.01.2020 17:19:57 (GMT)
packets inside...................: 10200
skipped damaged packets..........: 0
packets with GPS data............: 3017
packets with FCS.................: 0
beacons (total)..................: 878
beacons (WPS info inside)........: 248
beacons (device info inside).....: 3
probe requests...................: 229
probe responses..................: 714
association requests.............: 53
association responses............: 471
reassociation requests...........: 29
reassociation responses..........: 36
authentications (OPEN SYSTEM)....: 570
authentications (BROADCOM).......: 199
authentications (APPLE)..........: 4
authentications (NETGEAR)........: 1
EAPOL packets (total)............: 7220
EAPOL packets (WPA1).............: 7
EAPOL packets (WPA2).............: 7213
PMKIDs (zeroed and useless)......: 1408
PMKIDs (not zeroed - total)......: 176
PMKIDs (WPA2)....................: 4190
PMKIDs from access points........: 175
PMKIDs from stations.............: 1
best handshakes (total)..........: 49 (ap-less: 21)
best PMKIDs (total)..............: 176

summary output file(s):
-----------------------
176 PMKID(s) written to opt_z.16800
45 handshake(s) written to opt_o
message pair M12E2...............: 28
message pair M32E2...............: 16
message pair M34E4...............: 1
3017 track points written to opt_g


Code:
<?xml version="1.0"?>
<gpx version="1.0" creator="hcxpcaptool"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.topografix.com/GPX/1/0"
xsi:schemaLocation="http://www.topografix.com/GPX/1/0 http://www.topografix.com/GPX/1/0/gpx.xsd">
<name>opt_g</name>
<trk>
  <name>real.pcapng</name>
  <trkseg>
  </trkseg>
</trk>
</gpx>
Reply


Messages In This Thread
wlandump-ng vs hcxdumptool - by hulley - 02-10-2018, 10:26 PM
RE: hcxtools - solution for capturing wlan traffic and conversion to hashcat formats - by PURE - 01-12-2020, 08:40 PM