Skip to content

Commit

Permalink
added option to read NMEA 0183 information from external sources
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Feb 8, 2025
1 parent f0e52ad commit ef85383
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 6 deletions.
14 changes: 14 additions & 0 deletions changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
31.01.2025
==========
hcxpcapngtool: added new options to read NMEA 0183 files from external sources
--nmea-in=<file> : input NME 0183 file
to convert gpx to NMEA 0183, use GPSBabel:
gpsbabel -w -t -i gpx -f in_file.gpx -o nmea -F out_file.nmea
--nmea-offset=<file> : time offset between NMEA 0183 file and dump file in seconds

The aim is to retrieve GPS information in NMEA 0183 standard format either from
USB GPS devices or external a GPS tracker (e.g. Garmin eTrex 30) and to feed this
data to hcxpcapngtool.
In a next step, I'll add the evaluation of AP data and GPS location.


31.01.2025
==========
hcxpcapngtool: option nmea changed to nmea-out
Expand Down
13 changes: 7 additions & 6 deletions hcxpcapngtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -6256,8 +6256,8 @@ fprintf(stdout, "%s %s (C) %s ZeroBeat\n"
" format MAC MANUFACTURER MODELNAME SERIALNUMBER DEVICENAME UUID ESSID\n"
"-h : show this help\n"
"-v : show version\n"
"\n"
"long options:\n"
"\n", eigenname, VERSION_TAG, VERSION_YEAR, eigenname, eigenname, eigenname, eigenname, eigenname, eigenname);
fprintf(stdout, "long options:\n"
"--all : convert all possible hashes instead of only the best one\n"
" that can lead to much overhead hashes\n"
" use hcxhashtool to filter hashes\n"
Expand All @@ -6278,8 +6278,10 @@ fprintf(stdout, "%s %s (C) %s ZeroBeat\n"
"--eapmd5-john=<file> : output EAP MD5 CHALLENGE (john chap)\n"
"--eapleap=<file> : output EAP LEAP and MSCHAPV2 CHALLENGE (hashcat -m 5500, john netntlm)\n"
"--tacacs-plus=<file> : output TACACS PLUS v1 (hashcat -m 16100, john tacacs-plus)\n"
// "--nmea-in=<file> : input NME 0183 file\n"
// "--nmea-offset=<file> : time offset between NMEA 0183 file and dump file in seconds\n"
"--nmea-in=<file> : input NME 0183 file\n"
" to convert gpx to NMEA 0183, use GPSBabel:\n"
" gpsbabel -w -t -i gpx -f in_file.gpx -o nmea -F out_file.nmea\n"
"--nmea-offset=<file> : time offset between NMEA 0183 file and dump file in seconds\n"
"--nmea-out=<file> : output GPS data in NMEA 0183 format\n"
" format: NMEA 0183 $GPGGA, $GPRMC, $GPWPL\n"
" to convert it to gpx, use GPSBabel:\n"
Expand All @@ -6298,8 +6300,7 @@ fprintf(stdout, "%s %s (C) %s ZeroBeat\n"
" 5 = not supported\n"
" 6 = fix valid (Dead Reckoning Mode)\n"
" to convert it to other formats, use bash tools or scripting languages\n"
"\n", eigenname, VERSION_TAG, VERSION_YEAR, eigenname, eigenname, eigenname, eigenname, eigenname, eigenname,
EAPOLTIMEOUT / 1000000, NONCEERRORCORRECTION, ESSIDSMAX);
"\n", EAPOLTIMEOUT / 1000000, NONCEERRORCORRECTION, ESSIDSMAX);

fprintf(stdout, "--log=<file> : output logfile\n"
"--raw-out=<file> : output frames in HEX ASCII\n"
Expand Down

0 comments on commit ef85383

Please sign in to comment.