lwthiker / curl-impersonate

curl-impersonate: A special build of curl that can impersonate Chrome & Firefox
MIT License
3.83k stars 254 forks source link

Curl-Impersonate support for Chrome Android versions #237

Open vishshaz opened 3 weeks ago

vishshaz commented 3 weeks ago

I see that the impersonate support is available only for chrome99_android and not for any of the succeeding versions of Chrome for Android. If I would want to use curl-impersonate for Chrome Android for later versions such as v125, v126, v130 and so on, then the only impersonate option available is chrome99_android, which leads to a TLS fingerprint mismatch. Is there a way to way to resolve this problem with curl-impersonate?

spidy0x0 commented 2 weeks ago

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

after getting the list of ciphers, update curl_chrome99_android file with the new ciphers and rename the file

vishshaz commented 1 week ago

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

after getting the list of ciphers, update curl_chrome99_android file with the new ciphers and rename the file

Quick question here though. I have a free version of Wireshark installed on my system. In the info section, I never come across the "Client Hello" or "Server Hello" messages. All I see are the "Application Data" messages. Should I have a paid version of Wireshark to obtain the "Client Hello" message? Or am I missing something here? Additionally, I am trying to obtain the ciphers on a mobile device. Is it even possible to do so using Wireshark?