From 9bc66f408d7c413fa2bc096353d7abd6037bda90 Mon Sep 17 00:00:00 2001 From: depler Date: Sat, 3 Sep 2022 13:02:20 +0300 Subject: [PATCH] code --- _patch/curl_chrome101.bat | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 _patch/curl_chrome101.bat diff --git a/_patch/curl_chrome101.bat b/_patch/curl_chrome101.bat new file mode 100644 index 0000000..6400ebd --- /dev/null +++ b/_patch/curl_chrome101.bat @@ -0,0 +1,7 @@ +@echo off + +rem The list of ciphers can be obtained by looking at the Client Hello message in +rem Wireshark, then converting it using this reference +rem https://wiki.mozilla.org/Security/Cipher_Suites + +%~dp0curl.exe --ciphers "TLS_AES_128_GCM_SHA256,TLS_AES_256_GCM_SHA384,TLS_CHACHA20_POLY1305_SHA256,ECDHE-ECDSA-AES128-GCM-SHA256,ECDHE-RSA-AES128-GCM-SHA256,ECDHE-ECDSA-AES256-GCM-SHA384,ECDHE-RSA-AES256-GCM-SHA384,ECDHE-ECDSA-CHACHA20-POLY1305,ECDHE-RSA-CHACHA20-POLY1305,ECDHE-RSA-AES128-SHA,ECDHE-RSA-AES256-SHA,AES128-GCM-SHA256,AES256-GCM-SHA384,AES128-SHA,AES256-SHA" -H "sec-ch-ua: \" Not A;Brand\";v=\"99\", \"Chromium\";v=\"101\", \"Google Chrome\";v=\"101\"" -H "sec-ch-ua-mobile: ?0" -H "sec-ch-ua-platform: \"Windows\"" -H "Upgrade-Insecure-Requests: 1" -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36" -H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9" -H "Sec-Fetch-Site: none" -H "Sec-Fetch-Mode: navigate" -H "Sec-Fetch-User: ?1" -H "Sec-Fetch-Dest: document" -H "Accept-Encoding: gzip, deflate, br" -H "Accept-Language: en-US,en;q=0.9" --http2 --false-start --compressed --tlsv1.2 --no-npn --alps --cert-compression brotli %* \ No newline at end of file