From 234f8b20658a1423353d0c21b98fca91e827efd3 Mon Sep 17 00:00:00 2001 From: MichaelAgarkov Date: Wed, 15 Jan 2025 07:39:51 +0300 Subject: [PATCH] Modify fake http request --- src/fakepackets.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fakepackets.c b/src/fakepackets.c index d4d22549..631e48c7 100644 --- a/src/fakepackets.c +++ b/src/fakepackets.c @@ -19,8 +19,8 @@ int fakes_count = 0; int fakes_resend = 1; static const unsigned char fake_http_request[] = "GET / HTTP/1.1\r\nHost: www.w3.org\r\n" - "User-Agent: curl/7.65.3\r\nAccept: */*\r\n" - "Accept-Encoding: deflate, gzip, br\r\n\r\n"; + "User-Agent: curl/8.11.1\r\nAccept: */*\r\n" + "Accept-Encoding: deflate, compress, gzip, br\r\n\r\n"; static const unsigned char fake_https_request[] = { 0x16, 0x03, 0x01, 0x02, 0x00, 0x01, 0x00, 0x01, 0xfc, 0x03, 0x03, 0x9a, 0x8f, 0xa7, 0x6a, 0x5d, 0x57, 0xf3, 0x62, 0x19, 0xbe, 0x46, 0x82, 0x45, 0xe2, 0x59, 0x5c, 0xb4, 0x48, 0x31, 0x12, 0x15,