nfqws: tamper dht lex order aa instead of zz

This commit is contained in:
bol-van 2023-09-07 20:50:03 +03:00
parent 3ded82efab
commit 15a31d53ed
10 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -859,7 +859,7 @@ packet_process_result dpi_desync_udp_packet(uint32_t fwmark, const char *ifout,
if (IsDhtD1(data_payload,len_payload)) if (IsDhtD1(data_payload,len_payload))
{ {
size_t szbuf,szcopy; size_t szbuf,szcopy;
memcpy(pkt2,"d2:zz1:x",8); memcpy(pkt2,"d2:aa1:x",8);
pkt2_len=8; pkt2_len=8;
szbuf=sizeof(pkt2)-pkt2_len; szbuf=sizeof(pkt2)-pkt2_len;
szcopy=len_payload-1; szcopy=len_payload-1;