mirror of
https://github.com/lwthiker/curl-impersonate.git
synced 2025-08-09 13:19:37 +00:00
Fix binary names
This commit is contained in:
@@ -71,7 +71,7 @@ RUN cd ${CURL_VERSION} && \
|
|||||||
RUN apt-get install -y xxd
|
RUN apt-get install -y xxd
|
||||||
|
|
||||||
RUN mkdir out && \
|
RUN mkdir out && \
|
||||||
cp ${CURL_VERSION}/src/curl out/curl-impersonate-ch
|
cp ${CURL_VERSION}/src/curl out/curl-impersonate
|
||||||
|
|
||||||
# Wrapper script
|
# Wrapper script
|
||||||
COPY curl_chrome* out/
|
COPY curl_chrome* out/
|
||||||
|
@@ -6,7 +6,7 @@ dir=`echo "$0" | sed 's%/[^/]*$%%'`
|
|||||||
# The list of ciphers can be obtained by looking at the Client Hello message in
|
# The list of ciphers can be obtained by looking at the Client Hello message in
|
||||||
# Wireshark, then converting it using this reference
|
# Wireshark, then converting it using this reference
|
||||||
# https://wiki.mozilla.org/Security/Cipher_Suites
|
# 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 \
|
--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: " Not A;Brand";v="99", "Chromium";v="98", "Google Chrome";v="98"' \
|
||||||
-H 'sec-ch-ua-mobile: ?0' \
|
-H 'sec-ch-ua-mobile: ?0' \
|
||||||
|
Reference in New Issue
Block a user