forked from lwthiker/curl-impersonate
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add Chrome 131 * Add tests and fix build script * Update windows boring commit hash * Revert 8.11.0 docs * Fix boringssl .a path in CI * Fix Chrome 131 UA * Update readme * Fix Chrome 131 tests keyshare algorithm --------- Co-authored-by: Yifei Kong <[email protected]>
- Loading branch information
1 parent
325a4ab
commit 1c40195
Showing
9 changed files
with
428 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Updates in this version: | ||
# 1. Added MLKEM to replace the X25519Kyber768 | ||
|
||
# Find the directory of this script | ||
dir=${0%/*} | ||
|
||
# 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-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 \ | ||
--curves X25519MLKEM768:X25519:P-256:P-384 \ | ||
-H 'sec-ch-ua: "Google Chrome";v="131", "Chromium";v="131", "Not_A Brand";v="24"' \ | ||
-H 'sec-ch-ua-mobile: ?0' \ | ||
-H 'sec-ch-ua-platform: "macOS"' \ | ||
-H 'Upgrade-Insecure-Requests: 1' \ | ||
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 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.7' \ | ||
-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, zstd' \ | ||
-H 'Accept-Language: en-US,en;q=0.9' \ | ||
-H 'Priority: u=0, i' \ | ||
--http2 \ | ||
--http2-settings '1:65536;2:0;4:6291456;6:262144' \ | ||
--http2-window-update 15663105 \ | ||
--http2-stream-weight 256 \ | ||
--http2-stream-exclusive 1 \ | ||
--compressed \ | ||
--ech GREASE \ | ||
--tlsv1.2 --alps --tls-permute-extensions \ | ||
--cert-compression brotli \ | ||
--tls-grease \ | ||
"$@" |
Oops, something went wrong.