Better HN
topnewbestaskshowjobs
Log inSign up

lwthiker

408 karma · joined Feb 11, 2022 (4y ago) · 11 submissions

lwt@lwthiker.com
Submissions

comment 4y ago · link · parent

curl-impersonate[1] is a curl fork that I maintain and which lets you fetch sites while impersonating a browser. Unfortunately, the practice of TLS and HTTP fingerprinting of web clients has become extremely common in the past ~1 year, which means a regular curl request will often return some JS challenge and not the real content. curl-impersonate helps with that.

[1] https://github.com/lwthiker/curl-impersonate

comment 4y ago · link · parent

For a while now I can't even access WhatsApp Web [1] through Firefox. It gets stuck on the loading page and keeps refreshing itself forever. I have to resort to Chrome whenever I need WhatsApp on my laptop.

[1] https://web.whatsapp.com

comment 4y ago · link · parent

I think they have different plans and configurations for their anti-bot service [1]. I'm not sure though because I'm not using their services.

[1] https://developers.cloudflare.com/bots/get-started/

4.

Firefox appears to be flagged as suspicious by Cloudflare(lwthiker.com ↗)

337 points · by lwthiker · 4y ago · 168 comments

comment 4y ago · link · parent

They don't block you completely, just present you with a JS challenge that delays your access to the site. A browser, even if behind a MITM proxy, would be able to solve this challenge.

comment 4y ago · link · parent

I hope to do so in the future, for now the implementation is extremely hacky so I doubt it can get accepted into curl.

comment 4y ago · link · parent

I will try to impersonate Chrome next, However, I suspect this is going to be more challenging. Chrome uses BoringSSL, which curl does not support. So it means either enforcing curl to compile with BoringSSL or modifying NSS to look like BoringSSL.

comment 4y ago · link · parent

Thanks for the suggestion, I had no idea ESR was a thing. I've just added support for Firefox ESR 91 (it was pretty similar and required adding one cipher to the cipher list and changing the user agent).

9.

Show HN: Curl modified to impersonate Firefox and mimic its TLS handshake(github.com ↗)

249 points · by lwthiker · 4y ago · 57 comments

10.

Analyzing a Stock Exchange's API(lwthiker.com ↗)

1 points · by lwthiker · 4y ago · discuss

11.

Show HN: Pumbaa – A portfolio simulation tool for passive, index investments(pumbaa.app ↗)

4 points · by lwthiker · 4y ago · discuss