Skip to content

Commit

Permalink
added weak candidate based on wpa-sec analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Oct 10, 2024
1 parent d04e2b5 commit 7e99535
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hcxpsktool.c
Original file line number Diff line number Diff line change
Expand Up @@ -2447,6 +2447,10 @@ fprintf(fhout, "05%6d\n", me);
oui = macaddr &0xffffff000000L;
nic = (macaddr -0x7f) &0xffffffL;
for(c = 0; c <= 0xff; c++) writebssid(fhout, oui +((nic +c) &0xffffffL));
if(oui == 0xccb171000000L)
{
for(c = 0; c <= 0xff; c++) fprintf(fhout, "CCB071%06llX\n", ((nic +c) &0xffffffL));
}
swap = (nic >> 8) & 0xffff;
{
swap = (swap & 0xf000) >> 12 | (swap & 0x0f00) >> 4 | (swap & 0x00f0) << 4 | (swap & 0x000f) << 12;
Expand Down

0 comments on commit 7e99535

Please sign in to comment.