Handy. Is the TCP handshake, or other details about socket behavior, ever get used for assessing the remote process, and in turn libraries written to mimic known patterns?
Show HN: Curl modified to impersonate Firefox and mimic its TLS handshake
11–20 of 62 posts
Re: Show HN: Curl modified to impersonate Firefox and mimic its TLS handshake
#12Re: Show HN: Curl modified to impersonate Firefox and mimic its TLS handshake
#13Would be cool if there was something like this for Python. Last time i tried to scrape something interesting i found that one of Cloudflare's enterprise options was easily blocking all of the main http libraries due to the identifiable TLS handshake.
Re: Show HN: Curl modified to impersonate Firefox and mimic its TLS handshake
#14However, I should caution that in this era of companies being particularly user-hostile and authoritarian, especially Big Tech, I would be more careful with sharing stuff like this. Being forced to run JS is bad enough; profiling users based on other traits, and essentially determining if they are using "approved" software, is a dystopia we should fight strongly against. Stallman's Right To Read comes to mind as a very relevant warning story.
Re: Show HN: Curl modified to impersonate Firefox and mimic its TLS handshake
#15>impersonate Firefox 95 you should really be impersonating an ESR version (eg. 91). Versions from the release channel is updated every month or so, and everyone has autoupdate enabled. Therefore unless you keep it up to date, your fingerprint is going to stick out like a sore thumb in a few months. On the other hand, ESR sticks to one version and shouldn't change significantly during its one year lifetime. It's still…
Re: Show HN: Curl modified to impersonate Firefox and mimic its TLS handshake
#16Very cool! Thanks for sharing - it’s always nice to learn about fingerprinting tricks and workarounds, from both a privacy and a “don’t unintentionally look like a bot” perspective. What inspired the project?
Motivation is in the blog post: https://lwthiker.com/reversing/2022/02/17/curl-impersonate-f...
Re: Show HN: Curl modified to impersonate Firefox and mimic its TLS handshake
#17Re: Show HN: Curl modified to impersonate Firefox and mimic its TLS handshake
#18Re: Show HN: Curl modified to impersonate Firefox and mimic its TLS handshake
#19Given the relative market shares it might make more sense to impersonate Chrome.