yifeikong / curl-impersonate

An active fork of curl-impersonate with more versions and build targets.
MIT License
49 stars 10 forks source link

Add flag for tls extension 18(signed_certificate_timestamp) #68

Closed raphaelts3 closed 1 month ago

raphaelts3 commented 2 months ago

Hello there,

I'm playing with some obscure tls fingerprint and I've manage to mimic almost 100% of it with the current available flags, but for whatever reason, it doesn't contains extension 18 on it from the original source and I want to mimic that behavior, therefore I've made some changes in the patches allowing that to be also switched on/off(default on for the cases where it was already present).

yifeikong commented 1 month ago

Thanks for the proposal! I'm open to merge this PR. However, generally, the patches should be exported from the yifeikong/curl repository, where we have upgraded to curl 8.7.1, see also in #67.

Could you please fork yifeikong/curl and open a PR there, so we can land this change based on curl 8.7.1.

yifeikong commented 1 month ago

Another approach is to provide the CURLOPT_TLS_EXTENSION_ORDER string. If you want to omit extension 18, simply delete it from the string.

raphaelts3 commented 1 month ago

Closing this in favor of https://github.com/yifeikong/curl/pull/4

yifeikong commented 2 weeks ago

This has been implemented as CURLOPT_TLS_SIGNED_CERT_TIMESTAMPS.