Skip to content

Commit

Permalink
changed bit mask order of exitoneapol
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Feb 4, 2024
1 parent 074916f commit f2d12ac
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
11 changes: 11 additions & 0 deletions changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
04.02.2024
==========
hcxdumptool: changed bit mask order of exitoneapol
--exitoneapol=<type> : exit on first EAPOL occurrence:
bitmask:
1 = PMKID (from AP)
2 = EAPOL M2M3 (authorized)
4 = EAPOL M1M2/M1M2ROGUE (not authorized)
8 = EAPOL M1


06.01.2024
==========
hcxdumptool: changed option --beacon_off to --disable_beacon
Expand Down
4 changes: 2 additions & 2 deletions hcxdumptool.c
Original file line number Diff line number Diff line change
Expand Up @@ -4783,8 +4783,8 @@ fprintf(stdout, "--tot=<digit> : enable timeout timer in minutes\n"
"--exitoneapol=<type> : exit on first EAPOL occurrence:\n"
" bitmask:\n"
" 1 = PMKID (from AP)\n"
" 2 = EAPOL M1M2/M1M2ROGUE (not authorized)\n"
" 4 = EAPOL M2M3 (authorized)\n"
" 2 = EAPOL M2M3 (authorized)\n"
" 4 = EAPOL M1M2/M1M2ROGUE (not authorized)\n"
" 8 = EAPOL M1\n"
" target BPF filter is recommended\n"
"--onsigterm=<action> : action when the program has been terminated (poweroff, reboot)\n"
Expand Down
4 changes: 2 additions & 2 deletions include/hcxdumptool.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
#define EXIT_ON_TOT 0x0004
#define EXIT_ON_WATCHDOG 0x0008
#define EXIT_ON_EAPOL_PMKID 0x0010
#define EXIT_ON_EAPOL_M2 0x0020
#define EXIT_ON_EAPOL_M3 0x0040
#define EXIT_ON_EAPOL_M3 0x0020
#define EXIT_ON_EAPOL_M2 0x0040
#define EXIT_ON_EAPOL_M1 0x0080
#define EXIT_ON_ERROR 0x0100

Expand Down

0 comments on commit f2d12ac

Please sign in to comment.