Submitting reCaptcha (v1 and v2) with PHP?

HeXeR

Regular Member
Joined
Dec 30, 2007
Messages
279
Reaction score
86
Doable? Anyone got working version yet? Or at least some ideas...

There are loads of versions "floating" around internet but I've only managed to find the ones using fallback API which requires "clean" IP (JS version would work with most if not all IPs).

Ofc. the problem is JS version is heavily obfuscated and without generating and populating proper variables... you can't get anywhere.
 
https://github.com/google/recaptcha/blob/master/examples/example-captcha.php
 
works for me... in upload a test for you:
http://www.damnhole.com/tests/examples/example-captcha.php

first of all you need site key & secret key from google
then use composer

PHP:
php composer.phar require google/recaptcha "~1.1"
cp -Rf vendor/google/recaptcha/examples ./
edit examples/example-captcha.php and set both keys
 
The fallback URL is required even for a clean IP. I have not once been able to pass the street sign view with 1 attempt, even on a clean IP. The only times you 'can' pass first time is if you have already passed the checkbox. If you are using an outdated browser & going directly to the street sign view then you should pass on the second/third attempt without issues.
 
New reCaptcha sucks. I haven't been able to figure it out.

I'm trying with Python and I managed to get it working once. Then I made one change in my code and it never worked again. Sooooooooo pissed.
 
New reCaptcha sucks. I haven't been able to figure it out.

I'm trying with Python and I managed to get it working once. Then I made one change in my code and it never worked again. Sooooooooo pissed.

What messed me up for a while was 0-8 images rather than 1-9 :)
 
Back
Top