Skip to content

Commit

Permalink
fixed log entry on --silent mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ZerBea committed Dec 11, 2021
1 parent 4a1e381 commit 41cf610
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions hcxdumptool.c
Expand Up @@ -5372,13 +5372,16 @@ zeiger->ap[5] = mynic_ap & 0xff;
mynic_ap++;
zeiger->essidlen = tags.essidlen;
memcpy(zeiger->essid, tags.essid, tags.essidlen);
if((attackstatus &DISABLE_CLIENT_ATTACKS) != DISABLE_CLIENT_ATTACKS) send_probe_resp(macfrx->addr2, zeiger);
if((attackstatus &DISABLE_CLIENT_ATTACKS) != DISABLE_CLIENT_ATTACKS)
{
send_probe_resp(macfrx->addr2, zeiger);
if((statusout &STATUS_ROGUE) == STATUS_ROGUE) printstatusap(macfrx->addr2, zeiger, "ROGUE PROBERESPONSE");
}
memcpy(&mac_myprclient, macfrx->addr2, 6);
if(fd_pcapng > 0)
{
if((pcapngframesout &PCAPNG_FRAME_MANAGEMENT) == PCAPNG_FRAME_MANAGEMENT) writeepb(fd_pcapng);
}
if((statusout &STATUS_ROGUE) == STATUS_ROGUE) printstatusap(macfrx->addr2, zeiger, "ROGUE PROBERESPONSE");
qsort(rglist, zeiger -rglist +1, MACESSIDLIST_SIZE, sort_macessidlist_by_time);
return;
}
Expand Down

0 comments on commit 41cf610

Please sign in to comment.