codemanki / cloudscraper

--DEPRECATED -- 🛑 🛑 Node.js library to bypass cloudflare's anti-ddos page
MIT License
603 stars 141 forks source link

Sucuri WAF - Undocumented Code #240

Closed ghost closed 5 years ago

ghost commented 5 years ago

I mentioned this before when I wasn't sure how the code was Cloudflare related. The following code is for bypassing https://sucuri.net/website-firewall/

https://github.com/codemanki/cloudscraper/blob/c65a95385ca9bbd3490f34589ceaffadfbba62c2/index.js#L453-L475

I think this should be mentioned in the README or removed.

+1 for keeping it around since it's still useful i.e. https://github.com/Anorov/cloudflare-scrape/issues/277 where at least the site is using Cloudflare's DNS, at worst it's behind CF and using Sucuri which could be pretty confusing to users.

codemanki commented 5 years ago

🤔 for some reason I thought this was for cloudflare :D I will amend Readme

ghost commented 5 years ago

I just realized a couple of problems with the current code.

Everything else is A-ok

242 makes it work as expected and updates the fixtures.