Skip to content

Commit

Permalink
added warning that hcxdumptool change operation mode, MAC and channel…
Browse files Browse the repository at this point in the history
… of the interface
  • Loading branch information
= committed Jul 13, 2024
1 parent c35ac2c commit e434780
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions hcxdumptool.c
Original file line number Diff line number Diff line change
Expand Up @@ -4727,7 +4727,10 @@ fprintf(stdout, "%s %s (C) %s ZeroBeat\n"
"most common options:\n--------------------\n"
"-i <INTERFACE> : name of INTERFACE to be used\n"
" default: first suitable INTERFACE\n"
" warning: %s changes the virtual MAC address of the INTERFACE\n"
" warning:\n"
" %s changes the mode of the INTERFACE\n"
" %s changes the virtual MAC address of the INTERFACE\n"
" %s changes the channel of the INTERFACE\n"
"-w <outfile> : write packets to a pcapng-format file named <outfile>\n"
" existing file will be overwritten\n"
" default outfile name: yyyyddmmhhmmss-interfacename.pcapng\n"
Expand Down Expand Up @@ -4765,9 +4768,9 @@ fprintf(stdout, "%s %s (C) %s ZeroBeat\n"
"-v : show version\n"
"\n",
#ifdef HCXWANTLIBPCAP
eigenname, VERSION_TAG, VERSION_YEAR, eigenname, eigenname, TIMEHOLD / 1000000000ULL, eigenname, BPF_MAXINSNS);
eigenname, VERSION_TAG, VERSION_YEAR, eigenname, eigenname, eigenname, eigenname, TIMEHOLD / 1000000000ULL, eigenname, BPF_MAXINSNS);
#else
eigenname, VERSION_TAG, VERSION_YEAR, eigenname, eigenname, TIMEHOLD / 1000000000ULL, BPF_MAXINSNS);
eigenname, VERSION_TAG, VERSION_YEAR, eigenname, eigenname, eigenname, eigenname, TIMEHOLD / 1000000000ULL, BPF_MAXINSNS);
#endif
fprintf(stdout, "less common options:\n--------------------\n"
"-m <INTERFACE> : set monitor mode and terminate\n"
Expand Down

0 comments on commit e434780

Please sign in to comment.