2captcha / cloudflare-demo

Demo showing how to bypass Cloudflare Challenge page with Turnstile CAPTCHA with puppeteer and 2Captcha
15 stars 4 forks source link

Not working if cloudflare captcha comes instead of automatically bot detection. #7

Open vikasg603 opened 2 months ago

vikasg603 commented 2 months ago

Hey, this inject.js seems like to has stopped working in cases where Cloudflare displays a captcha. Like when your IP is partially blocked.

The possible way to reproduce this is by using an bright data US proxy or better try with 10 different proxy IPs, You will be able to reproduce this whenever cloudflare displays an captcha.

This works perfectly in the case when captcha is not there.

s43 commented 1 month ago

In case anyone has come across this issue, the captcha appears anytime you are running puppeteer using devTools on, as the challenge page uses the "debugger;" trick to block scripts from being fully executed.

I turned the devtools off, and the example works perfectly.