hcxtools - solution for capturing wlan traffic and conversion to hashcat formats
(12-27-2019, 10:04 PM)strike1953 Wrote:
(12-27-2019, 08:13 PM)ZerBea Wrote: Please try hcxdumptool v6.0.0 in combination with latest git head hcxpcapngtool.
hcxdumptool GPS options:
--use_gps_device=<device>          : use GPS device
                                    /dev/ttyACM0, /dev/ttyUSB0, ...
                                    NMEA 0183 $GPGGA $GPGGA
--use_gpsd                        : use GPSD device
                                    NMEA 0183 $GPGGA, $GPRMC
--nmea=<file>                      : save track to file
                                    format: NMEA 0183 $GPGGA, $GPRMC, $GPWPL
                                    to convert it to gpx, use GPSBabel:
                                    gpsbabel -i nmea -f hcxdumptool.nmea -o gpx -F file.gpx
                                    to display the track, open file.gpx with viking
If you use GPS, make sure GPS device is in fix, before you start hcxdumptool


hcxpcapngtool GPS options:
--nmea=<file>                      : output GPS data in NMEA format
                                    format: NMEA 0183 $GPGGA, $GPRMC, $GPWPL
                                    to convert it to gpx, use GPSBabel:
                                    gpsbabel -i nmea -f hcxdumptool.nmea -o gpx -F file.gpx
                                    to display the track, open file.gpx with viking

Test your GPS device:
$ lsusb
Bus 001 Device 009: ID 1546:01a7 U-Blox AG [u-blox 7]

Get information about the device
$ dmesg
[ 3954.212690] usb 1-3: new full-speed USB device number 9 using xhci_hcd
[ 3954.353840] usb 1-3: New USB device found, idVendor=1546, idProduct=01a7, bcdDevice= 1.00
[ 3954.353851] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3954.353857] usb 1-3: Product: u-blox 7 - GPS/GNSS Receiver
[ 3954.353862] usb 1-3: Manufacturer: u-blox AG - www.u-blox.com
[ 3954.379328] cdc_acm 1-3:1.0: ttyACM0: USB ACM device

receive GPS data from the device (/dev/.... depend on your device/port)
$ cat /dev/ttyACM0

now GPS data should appear
$GPTXT,01,01,02,u-blox ag - www.u-blox.com*50
$GPTXT,01,01,02,HW  UBX-G70xx  00070000 *77
$GPTXT,01,01,02,ROM CORE 1.00 (59842) Jun 27 2012 17:43:52*59
$GPTXT,01,01,02,PROTVER 14.00*1E
$GPTXT,01,01,02,ANTSUPERV=AC SD PDoS SR*20
$GPTXT,01,01,02,ANTSTATUS=OK*3B
$GPTXT,01,01,02,LLC FFFFFFFF-FFFFFFED-FFFFFFFF-FFFFFFFF-FFFFFFF9*50
$GPRMC,,V,,,,,,,,,,N*53

wait until you get a fix (GPRMC and GPGGA is not longer empty)
if you don't receive GPS data running $ cat, your device isn't suitable or not working as expected.
GPWPL is calculated by hcxdumptool and hcxpcapngtool for every transmitter.

now run hcxdumptool with option:
--use_gps_device=/dev/ttyACM0


Thank you, I'll try


Working!!!!!!!
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 strike1953 - 12-28-2019, 01:18 AM