Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bypass CloudFlare new version #1404

Closed
devCanario opened this issue Jul 20, 2023 · 32 comments
Closed

Bypass CloudFlare new version #1404

devCanario opened this issue Jul 20, 2023 · 32 comments

Comments

@devCanario
Copy link

To bypass cloudflare you need the chrome version 115, it seems that the versions prior to 115 do not like it,but with 115 the captcha is bypassed, (changing the user agent wont work)

@NCLnclNCL
Copy link

NCLnclNCL commented Jul 20, 2023

Oh yeah but 115 still will cannot pass

@sh-erfan
Copy link

To bypass cloudflare you need the chrome version 115, it seems that the versions prior to 115 do not like it,but with 115 the captcha is bypassed, (changing the user agent wont work)

Have you tested that?
The latest solution was opening in a new tab and waiting for a while, but sounds patched by Cloudflare
I haven't tested with 115 yet

@ParhamSobhan
Copy link

anyone tested?

@luluhoc
Copy link

luluhoc commented Jul 20, 2023

anyone tested?

Doesn't work, at least with puppeteer

@Sunda001
Copy link

anyone tested?

Doesn't work, at least with puppeteer

bruh, this isn't puppeteer repo

@rcarvalho16
Copy link

To bypass cloudflare you need the chrome version 115, it seems that the versions prior to 115 do not like it,but with 115 the captcha is bypassed, (changing the user agent wont work)

I can't use undetected_chromedriver with version 115 of Chrome This version of ChromeDriver only supports Chrome version 113

@devCanario
Copy link
Author

yo need to repatch the file, redownload the chromedriver with the new version or use a driver manager to downloadit automaticaly

@rcarvalho16
Copy link

yo need to repatch the file, redownload the chromedriver with the new version or use a driver manager to downloadit automaticaly

Either way it is being detected by CF so not much I can do

@Sunda001
Copy link

@rcarvalho16 dm me on telegram @anternal12 I'll be able to help u, I'm bypassing CF without a problem

Invalid telegram username

@Sunda001
Copy link

@anternal12
anternal12
@Sunda001

image

Screenshot_20230723-045041_Nekogram_X.png

He's scammer guys don't trust him

@Sunda001
Copy link

@anternal12
anternal12
@Sunda001

image

Screenshot_20230723-045041_Nekogram_X.png

He's scammer guys don't trust him

He's begging for 100$ crazy AF

@luluhoc
Copy link

luluhoc commented Jul 22, 2023

@anternal12
anternal12
@Sunda001

image

Screenshot_20230723-045041__X.png

He's scammer guys don't trust him

He's begging for 100$ crazy AF

@Sunda001 You are the one begging for the solution, Ive put my time and found a solution to a problem and I’ve put the price on it nothing wrong with it.
He was offering me 1$ when I didn’t align with his low ball offer he decided to post false info.

I just wanted to inform you that I’m reporting you to the police for defamation and leaking private conversations without a consent.

Cheers

@Sunda001
Copy link

Sunda001 commented Jul 22, 2023 via email

@NCLnclNCL
Copy link

Am i supposed to be afraid now? And u hope me to delete my screenshot? Nice try man, and Unfortunately i live in a jungle, so police cant come here, or maybe they will knock ur door in the morning :)

On Sun, Jul 23, 2023, 5:41 AM LULU @.> wrote: @anternal12 anternal12 @Sunda001 https://github.com/Sunda001 [image: image] https://user-images.githubusercontent.com/22813220/255352465-3ad2f68d-914c-43a1-8944-4efef2006d1e.png [image: Screenshot_20230723-045041__X.png] https://github.com/ultrafunkamsterdam/undetectedchromedriver/assets/32301831/fd9d30be-39b9-497b-bdb3-17909719b92d He's scammer guys don't trust him He's begging for 100$ crazy AF @Sunda001 https://github.com/Sunda001 You are the one begging for the solution, Ive put my time and found a solution to a problem and I’ve put the price on it nothing wrong with it. I just wanted to inform you that I’m reporting you to the police for defamation and leaking private conversations without a consent. Cheers — Reply to this email directly, view it on GitHub <#1404 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHWOGB67RJVPG3HGGHLE3Y3XRRJJDANCNFSM6AAAAAA2RQ7UGA . You are receiving this because you were mentioned.Message ID: @. com>

do you know how to bypass cloudflare?

@baptx
Copy link

baptx commented Jul 26, 2023

@kenegdane this solution worked for me: #1388 (comment)

@ultrafunkamsterdam
Copy link
Owner

with driver:
    driver.get('https://somecloudflareprotectedsite.tld

works fine

@luluhoc
Copy link

luluhoc commented Jul 26, 2023


with driver:

    driver.get('https://somecloudflareprotectedsite.tld

works fine

@ultrafunkamsterdam equivalent of this in puppeteer?

@ultrafunkamsterdam
Copy link
Owner

go the the puppeteer git and ask

@ultrafunkamsterdam
Copy link
Owner

is cf detecting puppetteer as well ? lol

@ultrafunkamsterdam
Copy link
Owner

check in discussions under "announcements" ;)

@luluhoc
Copy link

luluhoc commented Jul 26, 2023

check in discussions under "announcements" ;)

@ultrafunkamsterdam Thanks, Do you mind telling me how CF was detecting webdriver?

@devCanario
Copy link
Author

@ultrafunkamsterdam
the only way to bypass currently is opening the browser with a debug port pass the captcha automaticaly then connect to the browser instance with selenium, it worked without undetected, can you look into it. it think cloudflare is messaging the driver

@Sunda001
Copy link

Sunda001 commented Jul 26, 2023

@ultrafunkamsterdam
the only way to bypass currently is opening the browser with a debug port pass the captcha automaticaly then connect to the browser instance with selenium, it worked without undetected, can you look into it. it think cloudflare is messaging the driver

Do u have ur own version of undetected-chromium?

@luluhoc
Copy link

luluhoc commented Jul 26, 2023

@ultrafunkamsterdam

the only way to bypass currently is opening the browser with a debug port pass the captcha automaticaly then connect to the browser instance with selenium, it worked without undetected, can you look into it. it think cloudflare is messaging the driver

Yeah, it has to message the driver for sure or check if maybe the driver is changing some values or adding some function to global, cause as soon as driver is disconnected it doesn’t detect.

@ysfmrz
Copy link

ysfmrz commented Jul 26, 2023

check in discussions under "announcements" ;)

with driver:
    driver.get('https://somecloudflareprotectedsite.tld

not work for me
Should we wait for the new update? for solving this problem?

@devCanario
Copy link
Author

@Sunda001
you dont need undetected open chrome with the flags to set the debug port, the create script to connect with the chrome that is currentyl running and you will have the control of the driver and the captcha will be bypasses

@Sunda001
Copy link

@Sunda001
you dont need undetected open chrome with the flags to set the debug port, the create script to connect with the chrome that is currentyl running and you will have the control of the driver and the captcha will be bypasses

Can u show example code and the demonstration

@rcarvalho16
Copy link

@Sunda001
you dont need undetected open chrome with the flags to set the debug port, the create script to connect with the chrome that is currentyl running and you will have the control of the driver and the captcha will be bypasses

Can u show example code and the demonstration

this ^^, didn't quite understand the other guys explanation

@ultrafunkamsterdam
Copy link
Owner

@Sunda001 you dont need undetected open chrome with the flags to set the debug port, the create script to connect with the chrome that is currentyl running and you will have the control of the driver and the captcha will be bypasses

All nice and good. But everyone can open chrome with some parameters , maybe even navigate to a page without captcha, It's more the part of ... (and then).... Most uc users only know a bit selenium, and arent developers. So technically you are correct, but it's not helping anyone. Rewriting all this into a useable, foolproof and friendly selenium-like automation framework is another horror Story (and Almost finished. See announcements.)

@rcarvalho16
Copy link

@ultrafunkamsterdam Any idea on how I could solve the 'can't connect to captcha' problem? I think it is being triggered by selenium and I know for a fact that CF is detecting it, but there's no manual captcha I can solve before connecting to an existing chrome browser.

@IAISI
Copy link

IAISI commented Jul 28, 2023

@Sunda001 you dont need undetected open chrome with the flags to set the debug port, the create script to connect with the chrome that is currentyl running and you will have the control of the driver and the captcha will be bypasses

All nice and good. But everyone can open chrome with some parameters , maybe even navigate to a page without captcha, It's more the part of ... (and then).... Most uc users only know a bit selenium, and arent developers. So technically you are correct, but it's not helping anyone. Rewriting all this into a useable, foolproof and friendly selenium-like automation framework is another horror Story (and Almost finished. See announcements.)

Sorry for my lack of knowledge but isn't that exactly what chrome driver is doing? Launching chrome installed on the system with specific params? Not sure how that would be any different? With exception that some extra flags and stuff is set when chromedriver is launching chrome?

@luluhoc
Copy link

luluhoc commented Jul 28, 2023

We have figured out what the issue was. It was related to finding browser setting related to external ip: timezone, language, locale something from that list. It was reproduced only on my PC and for my ip. On our other team member PC it never reproduces, it also doesn't reproduces with proxy.

While we will continue to investigate, maybe updating ip database will help,

Feel free to use puppeteer-with-fingerprints with Cloudflare, it must work on your side.

Originally posted by @bablosoft in CheshireCaat/puppeteer-with-fingerprints#34 (comment)

can anyone test it on windows, is it true what he is saying?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

12 participants