nfqws: tamper dht lex order 00 instead of aa

This commit is contained in:
bol-van 2023-09-07 21:02:29 +03:00
parent 15a31d53ed
commit 394c590a25
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:aa1:x",8); memcpy(pkt2,"d2:001: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;