Skip to content

Commit

Permalink
improved status out
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Dec 14, 2023
1 parent e5d04c5 commit 9ba6da0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions hcxhashtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -1314,11 +1314,11 @@ if(zeiger->type == HCX_TYPE_EAPOL)
rc = wpak->replaycount;
#endif
fprintf(fh_pmkideapol, "REPLAYCOUNT: %" PRIu64 "\n", rc);
if((zeiger->mp & 0x10) == 0x10) fprintf(fh_pmkideapol, "NC INFO....: ROGUE attack / NC deactivated\n");
else if((zeiger->mp & 0x80) == 0x00) fprintf(fh_pmkideapol, "NC INFO....: hashcat default NC deactivated\n");
else if((zeiger->mp & 0x80) == 0x80) fprintf(fh_pmkideapol, "NC INFO....: hashcat default NC activated\n");
if((zeiger->mp & 0xe0) == 0x20) fprintf(fh_pmkideapol, "ROUTER INFO: little endian router / NC on LE\n");
if((zeiger->mp & 0xe0) == 0x40) fprintf(fh_pmkideapol, "ROUTER INFO: big endian router / NC on BE\n");
if((zeiger->mp & 0xf0) == 0x10) fprintf(fh_pmkideapol, "NC INFO....: ROGUE attack / NC deactivated\n");
else if((zeiger->mp & 0xf0) == 0x20) fprintf(fh_pmkideapol, "NC INFO....: little endian router detected / NC on LE\n");
else if((zeiger->mp & 0xf0) == 0x40) fprintf(fh_pmkideapol, "NC INFO....: big endian router detected / NC on BE\n");
else if((zeiger->mp & 0xf0) == 0x80) fprintf(fh_pmkideapol, "NC INFO....: hashcat default NC activated\n");
else fprintf(fh_pmkideapol, "NC INFO....: NC not detected\n");
if((zeiger->mp & 0x07) == 0x00) fprintf(fh_pmkideapol, "MP M1M2 E2.: challenge\n");
if((zeiger->mp & 0x07) == 0x01) fprintf(fh_pmkideapol, "MP M1M4 E4.: authorized\n");
if((zeiger->mp & 0x07) == 0x02) fprintf(fh_pmkideapol, "MP M2M3 E2.: authorized\n");
Expand Down

0 comments on commit 9ba6da0

Please sign in to comment.