curl-impersonate: A special build of curl that can impersonate Chrome & Firefox
Use different binary names for Firefox and Chrome
lwthiker22508c6863e6
diff --git a/Dockerfile.template b/Dockerfile.templateindex e36f095..2a7fa96 100644--- a/Dockerfile.template+++ b/Dockerfile.template@@ -162,7 +162,14 @@ RUN cd ${CURL_VERSION} && \makeRUN mkdir out && \- cp ${CURL_VERSION}/src/curl out/curl-impersonate && \+{{#firefox}}+ cp ${CURL_VERSION}/src/curl out/curl-impersonate-ff && \+ ln -s curl-impersonate-ff out/curl-impersonate && \+{{/firefox}}+{{#chrome}}+ cp ${CURL_VERSION}/src/curl out/curl-impersonate-chrome && \+ ln -s curl-impersonate-chrome out/curl-impersonate && \+{{/chrome}}strip out/curl-impersonate# Re-compile libcurl dynamically@@ -185,8 +192,18 @@ RUN cd ${CURL_VERSION} && \# symbolic links.RUN ver=$(readlink -f curl-7.81.0/lib/.libs/libcurl.so | sed 's/.*so\.//') && \major=$(echo -n $ver | cut -d'.' -f1) && \- cp "${CURL_VERSION}/lib/.libs/libcurl.so.$ver" "out/libcurl-impersonate.so.$ver" && \- ln -s "libcurl-impersonate.so.$ver" "out/libcurl-impersonate.so.$major" && \+{{#firefox}}+ cp "${CURL_VERSION}/lib/.libs/libcurl.so.$ver" "out/libcurl-impersonate-ff.so.$ver" && \+ ln -s "libcurl-impersonate-ff.so.$ver" "out/libcurl-impersonate-ff.so.$major" && \+ ln -s "libcurl-impersonate-ff.so.$ver" "out/libcurl-impersonate-ff.so" && \+ ln -s "libcurl-impersonate-ff.so.$ver" "out/libcurl-impersonate.so.$ver" && \+{{/firefox}}+{{#chrome}}+ cp "${CURL_VERSION}/lib/.libs/libcurl.so.$ver" "out/libcurl-impersonate-chrome.so.$ver" && \+ ln -s "libcurl-impersonate-chrome.so.$ver" "out/libcurl-impersonate-chrome.so.$major" && \+ ln -s "libcurl-impersonate-chrome.so.$ver" "out/libcurl-impersonate-chrome.so" && \+ ln -s "libcurl-impersonate-chrome.so.$ver" "out/libcurl-impersonate.so.$ver" && \+{{/chrome}}ln -s "libcurl-impersonate.so.$ver" "out/libcurl-impersonate.so" && \strip "out/libcurl-impersonate.so.$ver"@@ -215,7 +232,14 @@ RUN apk add --no-cache nss{{/firefox}}# Copy curl-impersonate from the builder image-COPY --from=builder /build/out/curl-impersonate /usr/local/bin/+{{#firefox}}+COPY --from=builder /build/out/curl-impersonate-ff /usr/local/bin/+RUN ln -s curl-impersonate-ff /usr/local/bin/curl-impersonate+{{/firefox}}+{{#chrome}}+COPY --from=builder /build/out/curl-impersonate-chrome /usr/local/bin/+RUN ln -s curl-impersonate-chrome /usr/local/bin/curl-impersonate+{{/chrome}}# Wrapper scriptsCOPY --from=builder /build/out/curl_* /usr/local/bin/diff --git a/README.md b/README.mdindex cddf33c..23399f0 100644--- a/README.md+++ b/README.md@@ -73,10 +73,10 @@ As mentioned there are two separate build systems. The **chrome** build is used```docker build -t curl-impersonate-chrome chrome/```-The resulting image contains:-* `/build/out/curl-impersonate` - The curl binary that can impersonate Chrome/Edge/Safari. It is compiled statically against libcurl, BoringSSL, and libnghttp2 so that it won't conflict with any existing libraries on your system. You can use it from the container or copy it out. Tested to work on Ubuntu 20.04.-* `/build/out/curl_chrome98`, `/build/out/curl_chrome99`, `...` - Wrapper scripts that launch `curl-impersonate` with all the needed flags.-* `/build/out/libcurl-impersonate.so` - libcurl compiled with impersonation support. See [libcurl-impersonate](#libcurl-impersonate) below for more details.+The resulting image contains a `/build/out` directory with the following:+* `curl-impersonate-chrome`, `curl-impersonate` - The curl binary that can impersonate Chrome/Edge/Safari. It is compiled statically against libcurl, BoringSSL, and libnghttp2 so that it won't conflict with any existing libraries on your system. You can use it from the container or copy it out. Tested to work on Ubuntu 20.04.+* `curl_chrome98`, `curl_chrome99`, `...` - Wrapper scripts that launch `curl-impersonate` with all the needed flags.+* `libcurl-impersonate-chrome.so`, `libcurl-impersonate.so` - libcurl compiled with impersonation support. See [libcurl-impersonate](#libcurl-impersonate) below for more details.You can use them inside the docker, copy them out using `docker cp` or use them in a multi-stage docker build.@@ -85,10 +85,10 @@ Build with:```docker build -t curl-impersonate-ff firefox/```-The resulting image contains:-* `/build/out/curl-impersonate` - The curl binary that can impersonate Firefox. It is compiled statically against libcurl, nss, and libnghttp2 so that it won't conflict with any existing libraries on your system. You can use it from the container or copy it out. Tested to work on Ubuntu 20.04.-* `/build/out/curl_ff91esr`, `/build/out/curl_ff95`, `...` - Wrapper scripts that launch `curl-impersonate` with all the needed flags.-* `/build/out/libcurl-impersonate.so` - libcurl compiled with impersonation support. See [libcurl-impersonate](#libcurl-impersonate) below for more details.+The resulting image contains a `/build/out` directory with the following:+* `curl-impersonate-ff`, `curl-impersonate` - The curl binary that can impersonate Firefox. It is compiled statically against libcurl, nss, and libnghttp2 so that it won't conflict with any existing libraries on your system. You can use it from the container or copy it out. Tested to work on Ubuntu 20.04.+* `curl_ff91esr`, `curl_ff95`, `...` - Wrapper scripts that launch `curl-impersonate` with all the needed flags.+* `libcurl-impersonate-ff.so`, `libcurl-impersonate.so` - libcurl compiled with impersonation support. See [libcurl-impersonate](#libcurl-impersonate) below for more details.If you use it outside the container, install the following dependency:* `sudo apt install libnss3`. Even though nss is statically compiled into `curl-impersonate`, it is still necessary to install libnss3 because curl dynamically loads `libnssckbi.so`, a file containing Mozilla's list of trusted root certificates. Alternatively, use `curl -k` to disable certificate verification.diff --git a/chrome/Dockerfile b/chrome/Dockerfileindex 0511a60..5dae989 100644--- a/chrome/Dockerfile+++ b/chrome/Dockerfile@@ -97,7 +97,8 @@ RUN cd ${CURL_VERSION} && \makeRUN mkdir out && \- cp ${CURL_VERSION}/src/curl out/curl-impersonate && \+ cp ${CURL_VERSION}/src/curl out/curl-impersonate-chrome && \+ ln -s curl-impersonate-chrome out/curl-impersonate && \strip out/curl-impersonate# Re-compile libcurl dynamically@@ -114,8 +115,10 @@ RUN cd ${CURL_VERSION} && \# symbolic links.RUN ver=$(readlink -f curl-7.81.0/lib/.libs/libcurl.so | sed 's/.*so\.//') && \major=$(echo -n $ver | cut -d'.' -f1) && \- cp "${CURL_VERSION}/lib/.libs/libcurl.so.$ver" "out/libcurl-impersonate.so.$ver" && \- ln -s "libcurl-impersonate.so.$ver" "out/libcurl-impersonate.so.$major" && \+ cp "${CURL_VERSION}/lib/.libs/libcurl.so.$ver" "out/libcurl-impersonate-chrome.so.$ver" && \+ ln -s "libcurl-impersonate-chrome.so.$ver" "out/libcurl-impersonate-chrome.so.$major" && \+ ln -s "libcurl-impersonate-chrome.so.$ver" "out/libcurl-impersonate-chrome.so" && \+ ln -s "libcurl-impersonate-chrome.so.$ver" "out/libcurl-impersonate.so.$ver" && \ln -s "libcurl-impersonate.so.$ver" "out/libcurl-impersonate.so" && \strip "out/libcurl-impersonate.so.$ver"diff --git a/chrome/Dockerfile.alpine b/chrome/Dockerfile.alpineindex 963074c..7ad87a0 100644--- a/chrome/Dockerfile.alpine+++ b/chrome/Dockerfile.alpine@@ -94,7 +94,8 @@ RUN cd ${CURL_VERSION} && \makeRUN mkdir out && \- cp ${CURL_VERSION}/src/curl out/curl-impersonate && \+ cp ${CURL_VERSION}/src/curl out/curl-impersonate-chrome && \+ ln -s curl-impersonate-chrome out/curl-impersonate && \strip out/curl-impersonate# Re-compile libcurl dynamically@@ -111,8 +112,10 @@ RUN cd ${CURL_VERSION} && \# symbolic links.RUN ver=$(readlink -f curl-7.81.0/lib/.libs/libcurl.so | sed 's/.*so\.//') && \major=$(echo -n $ver | cut -d'.' -f1) && \- cp "${CURL_VERSION}/lib/.libs/libcurl.so.$ver" "out/libcurl-impersonate.so.$ver" && \- ln -s "libcurl-impersonate.so.$ver" "out/libcurl-impersonate.so.$major" && \+ cp "${CURL_VERSION}/lib/.libs/libcurl.so.$ver" "out/libcurl-impersonate-chrome.so.$ver" && \+ ln -s "libcurl-impersonate-chrome.so.$ver" "out/libcurl-impersonate-chrome.so.$major" && \+ ln -s "libcurl-impersonate-chrome.so.$ver" "out/libcurl-impersonate-chrome.so" && \+ ln -s "libcurl-impersonate-chrome.so.$ver" "out/libcurl-impersonate.so.$ver" && \ln -s "libcurl-impersonate.so.$ver" "out/libcurl-impersonate.so" && \strip "out/libcurl-impersonate.so.$ver"@@ -127,7 +130,8 @@ RUN chmod +x out/curl_*FROM alpine:3.15.0# Copy curl-impersonate from the builder image-COPY --from=builder /build/out/curl-impersonate /usr/local/bin/+COPY --from=builder /build/out/curl-impersonate-chrome /usr/local/bin/+RUN ln -s curl-impersonate-chrome /usr/local/bin/curl-impersonate# Wrapper scriptsCOPY --from=builder /build/out/curl_* /usr/local/bin/diff --git a/chrome/curl_chrome98 b/chrome/curl_chrome98index 05d1e74..a4c0cb3 100755--- a/chrome/curl_chrome98+++ b/chrome/curl_chrome98@@ -6,7 +6,7 @@ dir=`echo "$0" | sed 's%/[^/]*$%%'`# The list of ciphers can be obtained by looking at the Client Hello message in# Wireshark, then converting it using this reference# https://wiki.mozilla.org/Security/Cipher_Suites-"$dir/curl-impersonate" \+"$dir/curl-impersonate-chrome" \--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="98", "Google Chrome";v="98"' \-H 'sec-ch-ua-mobile: ?0' \diff --git a/chrome/curl_chrome99 b/chrome/curl_chrome99index 3919e2d..3fa6161 100755--- a/chrome/curl_chrome99+++ b/chrome/curl_chrome99@@ -6,7 +6,7 @@ dir=`echo "$0" | sed 's%/[^/]*$%%'`# The list of ciphers can be obtained by looking at the Client Hello message in# Wireshark, then converting it using this reference# https://wiki.mozilla.org/Security/Cipher_Suites-"$dir/curl-impersonate" \+"$dir/curl-impersonate-chrome" \--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="99", "Google Chrome";v="99"' \-H 'sec-ch-ua-mobile: ?0' \diff --git a/chrome/curl_chrome99_android b/chrome/curl_chrome99_androidindex 0ff3e4c..55e120c 100755--- a/chrome/curl_chrome99_android+++ b/chrome/curl_chrome99_android@@ -6,7 +6,7 @@ dir=`echo "$0" | sed 's%/[^/]*$%%'`# The list of ciphers can be obtained by looking at the Client Hello message in# Wireshark, then converting it using this reference# https://wiki.mozilla.org/Security/Cipher_Suites-"$dir/curl-impersonate" \+"$dir/curl-impersonate-chrome" \--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="99", "Google Chrome";v="99"' \-H 'sec-ch-ua-mobile: ?1' \diff --git a/chrome/curl_edge98 b/chrome/curl_edge98index 39089a1..e41ad38 100755--- a/chrome/curl_edge98+++ b/chrome/curl_edge98@@ -6,7 +6,7 @@ dir=`echo "$0" | sed 's%/[^/]*$%%'`# The list of ciphers can be obtained by looking at the Client Hello message in# Wireshark, then converting it using this reference# https://wiki.mozilla.org/Security/Cipher_Suites-"$dir/curl-impersonate" \+"$dir/curl-impersonate-chrome" \--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="98", "Microsoft Edge";v="98"' \-H 'sec-ch-ua-mobile: ?0' \diff --git a/chrome/curl_edge99 b/chrome/curl_edge99index 0381d2b..3aad1c8 100755--- a/chrome/curl_edge99+++ b/chrome/curl_edge99@@ -6,7 +6,7 @@ dir=`echo "$0" | sed 's%/[^/]*$%%'`# The list of ciphers can be obtained by looking at the Client Hello message in# Wireshark, then converting it using this reference# https://wiki.mozilla.org/Security/Cipher_Suites-"$dir/curl-impersonate" \+"$dir/curl-impersonate-chrome" \--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="99", "Microsoft Edge";v="99"' \-H 'sec-ch-ua-mobile: ?0' \diff --git a/chrome/curl_safari15_3 b/chrome/curl_safari15_3index 62b32ea..6d08ead 100755--- a/chrome/curl_safari15_3+++ b/chrome/curl_safari15_3@@ -6,7 +6,7 @@ dir=`echo "$0" | sed 's%/[^/]*$%%'`# The list of ciphers can be obtained by looking at the Client Hello message in# Wireshark, then converting it using this reference# https://wiki.mozilla.org/Security/Cipher_Suites-"$dir/curl-impersonate" \+"$dir/curl-impersonate-chrome" \--ciphers TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384:TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256:TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256:TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384:TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256:TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256:TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384:TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256:TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA:TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA:TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384:TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256:TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA:TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA:TLS_RSA_WITH_AES_256_GCM_SHA384:TLS_RSA_WITH_AES_128_GCM_SHA256:TLS_RSA_WITH_AES_256_CBC_SHA256:TLS_RSA_WITH_AES_128_CBC_SHA256:TLS_RSA_WITH_AES_256_CBC_SHA:TLS_RSA_WITH_AES_128_CBC_SHA:TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA:TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA:TLS_RSA_WITH_3DES_EDE_CBC_SHA \--curves X25519:P-256:P-384:P-521 \--signature-hashes ecdsa_secp256r1_sha256,rsa_pss_rsae_sha256,rsa_pkcs1_sha256,ecdsa_secp384r1_sha384,ecdsa_sha1,rsa_pss_rsae_sha384,rsa_pss_rsae_sha384,rsa_pkcs1_sha384,rsa_pss_rsae_sha512,rsa_pkcs1_sha512,rsa_pkcs1_sha1 \diff --git a/firefox/Dockerfile b/firefox/Dockerfileindex 407d29e..d9aa41f 100644--- a/firefox/Dockerfile+++ b/firefox/Dockerfile@@ -92,7 +92,8 @@ RUN cd ${CURL_VERSION} && \makeRUN mkdir out && \- cp ${CURL_VERSION}/src/curl out/curl-impersonate && \+ cp ${CURL_VERSION}/src/curl out/curl-impersonate-ff && \+ ln -s curl-impersonate-ff out/curl-impersonate && \strip out/curl-impersonate# Re-compile libcurl dynamically@@ -108,8 +109,10 @@ RUN cd ${CURL_VERSION} && \# symbolic links.RUN ver=$(readlink -f curl-7.81.0/lib/.libs/libcurl.so | sed 's/.*so\.//') && \major=$(echo -n $ver | cut -d'.' -f1) && \- cp "${CURL_VERSION}/lib/.libs/libcurl.so.$ver" "out/libcurl-impersonate.so.$ver" && \- ln -s "libcurl-impersonate.so.$ver" "out/libcurl-impersonate.so.$major" && \+ cp "${CURL_VERSION}/lib/.libs/libcurl.so.$ver" "out/libcurl-impersonate-ff.so.$ver" && \+ ln -s "libcurl-impersonate-ff.so.$ver" "out/libcurl-impersonate-ff.so.$major" && \+ ln -s "libcurl-impersonate-ff.so.$ver" "out/libcurl-impersonate-ff.so" && \+ ln -s "libcurl-impersonate-ff.so.$ver" "out/libcurl-impersonate.so.$ver" && \ln -s "libcurl-impersonate.so.$ver" "out/libcurl-impersonate.so" && \strip "out/libcurl-impersonate.so.$ver"diff --git a/firefox/Dockerfile.alpine b/firefox/Dockerfile.alpineindex 656b603..26f3a71 100644--- a/firefox/Dockerfile.alpine+++ b/firefox/Dockerfile.alpine@@ -87,7 +87,8 @@ RUN cd ${CURL_VERSION} && \makeRUN mkdir out && \- cp ${CURL_VERSION}/src/curl out/curl-impersonate && \+ cp ${CURL_VERSION}/src/curl out/curl-impersonate-ff && \+ ln -s curl-impersonate-ff out/curl-impersonate && \strip out/curl-impersonate# Re-compile libcurl dynamically@@ -103,8 +104,10 @@ RUN cd ${CURL_VERSION} && \# symbolic links.RUN ver=$(readlink -f curl-7.81.0/lib/.libs/libcurl.so | sed 's/.*so\.//') && \major=$(echo -n $ver | cut -d'.' -f1) && \- cp "${CURL_VERSION}/lib/.libs/libcurl.so.$ver" "out/libcurl-impersonate.so.$ver" && \- ln -s "libcurl-impersonate.so.$ver" "out/libcurl-impersonate.so.$major" && \+ cp "${CURL_VERSION}/lib/.libs/libcurl.so.$ver" "out/libcurl-impersonate-ff.so.$ver" && \+ ln -s "libcurl-impersonate-ff.so.$ver" "out/libcurl-impersonate-ff.so.$major" && \+ ln -s "libcurl-impersonate-ff.so.$ver" "out/libcurl-impersonate-ff.so" && \+ ln -s "libcurl-impersonate-ff.so.$ver" "out/libcurl-impersonate.so.$ver" && \ln -s "libcurl-impersonate.so.$ver" "out/libcurl-impersonate.so" && \strip "out/libcurl-impersonate.so.$ver"@@ -123,7 +126,8 @@ FROM alpine:3.15.0RUN apk add --no-cache nss# Copy curl-impersonate from the builder image-COPY --from=builder /build/out/curl-impersonate /usr/local/bin/+COPY --from=builder /build/out/curl-impersonate-ff /usr/local/bin/+RUN ln -s curl-impersonate-ff /usr/local/bin/curl-impersonate# Wrapper scriptsCOPY --from=builder /build/out/curl_* /usr/local/bin/diff --git a/firefox/curl_ff91esr b/firefox/curl_ff91esrindex ca2ca78..4862a96 100755--- a/firefox/curl_ff91esr+++ b/firefox/curl_ff91esr@@ -6,7 +6,7 @@ dir=`echo "$0" | sed 's%/[^/]*$%%'`# The list of ciphers can be obtained by looking at the Client Hello message in# Wireshark, then converting it using the cipherlist array at# https://github.com/curl/curl/blob/master/lib/vtls/nss.c-"$dir/curl-impersonate" \+"$dir/curl-impersonate-ff" \--ciphers aes_128_gcm_sha_256,chacha20_poly1305_sha_256,aes_256_gcm_sha_384,ecdhe_ecdsa_aes_128_gcm_sha_256,ecdhe_rsa_aes_128_gcm_sha_256,ecdhe_ecdsa_chacha20_poly1305_sha_256,ecdhe_rsa_chacha20_poly1305_sha_256,ecdhe_ecdsa_aes_256_gcm_sha_384,ecdhe_rsa_aes_256_gcm_sha_384,ecdhe_ecdsa_aes_256_sha,ecdhe_ecdsa_aes_128_sha,ecdhe_rsa_aes_128_sha,ecdhe_rsa_aes_256_sha,rsa_aes_128_gcm_sha_256,rsa_aes_256_gcm_sha_384,rsa_aes_128_sha,rsa_aes_256_sha,rsa_3des_ede_cbc_sha \-H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0' \-H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' \diff --git a/firefox/curl_ff95 b/firefox/curl_ff95index 9b81314..a433a8c 100755--- a/firefox/curl_ff95+++ b/firefox/curl_ff95@@ -6,7 +6,7 @@ dir=`echo "$0" | sed 's%/[^/]*$%%'`# The list of ciphers can be obtained by looking at the Client Hello message in# Wireshark, then converting it using the cipherlist array at# https://github.com/curl/curl/blob/master/lib/vtls/nss.c-"$dir/curl-impersonate" \+"$dir/curl-impersonate-ff" \--ciphers aes_128_gcm_sha_256,chacha20_poly1305_sha_256,aes_256_gcm_sha_384,ecdhe_ecdsa_aes_128_gcm_sha_256,ecdhe_rsa_aes_128_gcm_sha_256,ecdhe_ecdsa_chacha20_poly1305_sha_256,ecdhe_rsa_chacha20_poly1305_sha_256,ecdhe_ecdsa_aes_256_gcm_sha_384,ecdhe_rsa_aes_256_gcm_sha_384,ecdhe_ecdsa_aes_256_sha,ecdhe_ecdsa_aes_128_sha,ecdhe_rsa_aes_128_sha,ecdhe_rsa_aes_256_sha,rsa_aes_128_gcm_sha_256,rsa_aes_256_gcm_sha_384,rsa_aes_128_sha,rsa_aes_256_sha \-H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0' \-H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' \diff --git a/firefox/curl_ff98 b/firefox/curl_ff98old mode 100644new mode 100755index 2d15a5c..b9b08d4--- a/firefox/curl_ff98+++ b/firefox/curl_ff98@@ -6,7 +6,7 @@ dir=`echo "$0" | sed 's%/[^/]*$%%'`# The list of ciphers can be obtained by looking at the Client Hello message in# Wireshark, then converting it using the cipherlist array at# https://github.com/curl/curl/blob/master/lib/vtls/nss.c-"$dir/curl-impersonate" \+"$dir/curl-impersonate-ff" \--ciphers aes_128_gcm_sha_256,chacha20_poly1305_sha_256,aes_256_gcm_sha_384,ecdhe_ecdsa_aes_128_gcm_sha_256,ecdhe_rsa_aes_128_gcm_sha_256,ecdhe_ecdsa_chacha20_poly1305_sha_256,ecdhe_rsa_chacha20_poly1305_sha_256,ecdhe_ecdsa_aes_256_gcm_sha_384,ecdhe_rsa_aes_256_gcm_sha_384,ecdhe_ecdsa_aes_256_sha,ecdhe_ecdsa_aes_128_sha,ecdhe_rsa_aes_128_sha,ecdhe_rsa_aes_256_sha,rsa_aes_128_gcm_sha_256,rsa_aes_256_gcm_sha_384,rsa_aes_128_sha,rsa_aes_256_sha \-H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0' \-H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' \