Hari-Nagarajan / fairgame

Tool to help us buy hard to find items.
GNU General Public License v3.0
2.44k stars 804 forks source link

Spoofing reCAPTCHA’s passive bot detection more reliably #63

Open N7Alpha opened 4 years ago

N7Alpha commented 4 years ago

When testing the EVGA bot after solving the captcha about 8 times in a row I get this error in the captcha window.

Your computer or network may be sending automated queries to protect our users we can't process your request right now?

Thankfully my whole network isn’t flagged just my selenium browser instances, but I’m thinking theres probably some settings we could set to prevent something like this. I tried using a random user agent which was suggested online, but that didn’t help.

Maybe preserving reCAPTCHA’s cookies might help.

Hari-Nagarajan commented 4 years ago

We may have to implement chrome profiles into selenium for this, using the default browser profile will cause issues, but maybe we can just create a new profile for selenium?

N7Alpha commented 4 years ago

I don't know what's in googles bag of tricks, but that sounds like its worth a shot. I'll try it when I get back from work.

For reference if other people have this issue right now, I have a temporary fix. I changed the user agent to the one my chrome browser uses natively and it seemed to help a bit. It could have been a fluke though, because I can tell the captcha still does not like me.

Ellementz commented 4 years ago

I tried the test as well and was greeted by a captcha after solving it I got brought to an error page.