Skip to content

curl-impersonate: A special build of curl that can impersonate Chrome & Firefox

Fix binary names

lwthikerbd721758c76c
diff --git a/chrome/Dockerfile b/chrome/Dockerfile
index 68554d8..c1cf986 100644
--- a/chrome/Dockerfile
+++ b/chrome/Dockerfile
@@ -71,7 +71,7 @@ RUN cd ${CURL_VERSION} && \
RUN apt-get install -y xxd
RUN mkdir out && \
- cp ${CURL_VERSION}/src/curl out/curl-impersonate-ch
+ cp ${CURL_VERSION}/src/curl out/curl-impersonate
# Wrapper script
COPY curl_chrome* out/
diff --git a/chrome/curl_chrome98 b/chrome/curl_chrome98
index 8c5bc64..b994886 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-ch" \
+"$dir/curl-impersonate" \
--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' \