#selenium detection

1 messages · Page 1 of 1 (latest)

sinful thistle
#

Hi, I'm quite new to coding and wanted to make something that automated signing up for an account. I finally got it done after working all day, but it captchas me after I make the account with cloudflare. I've made sure cookies are cleard, I got a new IP going as well but it still captchas me. I added in delays that made it not complete instantly etc.

I finally decided to test just having my code open the browser and do nothing, from there I manually filled out and got a captcha. On my usual instance of firefox however when I fill it out manually it gives me no captcha and is all good.

I checked on https://www.whatsmyua.info/ and my browser on the script opened browser and typical firefox were identical.

So now I am trying to solve why it is detecting me and sending a captcha. (I hardly know anything about captcha detection any help is appreciated :)

#

btw when I am opening browser it is firefox but it has a red bar at top and a robot symbol.

#

That's been my test browser without any automation, main script is that + a lot of automation below

torn stirrup
# sinful thistle btw when I am opening browser it is firefox but it has a red bar at top and a ro...

theres a number of mechanisms people can use to check if you're a bot, if you want to try and bypass that you may still ocassionally get captchas but you could pass those through to the user/pay a captcha solving service, anyways if you want to try and bypass bot detection take a look at https://github.com/ultrafunkamsterdam/undetected-chromedriver for some ideas as to how this can be approached. If this doesnt work anymore then expect looots of effort needed to reverse whats triggering the bot detection (theres basically hundreds/thousands of ways you can be tracked) + patching selenium/playwright or whatever browser automation tool you end up trying

sinful thistle
#

Also it’s not a network thing either, this is on a fresh ip. When I leave the website and come back it doesn’t captcha me when I begin manually

torn stirrup
#

Also, breaking a websites TOS is usually illegal, what are you trying to automate?

#

depends on your country tho ;)

sinful thistle
#

I suppose I could always use pyauto gui on use tesseract OCR to always find the desired button and use enough randomization to make it undetectable. I wonder if the work of making it work with pyautogui and an OCR is less than that of bypassing bot detection ;)

torn stirrup
#

AIs already been built to solve captchas, Im not going to tell you where to look tho

unborn plume
#

ReCAPTCHA have been solved by 3 drunk guys and a Python ML engine in a week-end

#

basically, the easiest way is to get the MP3 for blind people and HACK that, after removing the MP3 comment section

#

CAPTCHA was mostly promoted / invented by PayPal in the early days, when they gave REAL hard cash money for everyone that signed up on that platform

#

it's funny because every time I try to find this video, YouTube / Google try to delist it 😂

#

#☕・hangout message

#

In one case, they used Google, to solve captcha using a Chrome extension plugin 🤣

#

but yes generally, the point of CAPTCHA is to make automated testing impossible.

sinful thistle
unborn plume
#

Cloudflare use heuristics

#

If it doesn't like those heuristics it triggers CAPTCHA

torn stirrup
#

selenium itself has/adds flags to the browser that can be detected like Ive mentioned

sinful thistle
#

it was a ton of work and learning but it was so worth it!

unborn plume
sinful thistle
#

(ips will be resi) (cookies wiped each session)

unborn plume
sinful thistle