noellarkin
Senior Member
- Mar 14, 2021
- 1,006
- 1,492
I've been writing a script for Recaptcha solving, using https://2captcha.com/2captcha-api#recaptchav2new_get as a guide.
I've already been able to:
1. Get Recaptcha sitekey from source
2. Send sitekey to DeathByCaptcha service
3. Poll DBC until I get a JSON object back containing the recaptcha key
4. Set key value in "g-recaptcha-response"
I'm stuck on the last step - submitting the recaptcha. The site I'm testing this on doesn't have a submit button ie this:
The documentation says a "callback function" is used in some sites instead of a submit button:
I ran ___grecaptcha_cfg.clients[0] in my browser console and I'm getting this:
But when I try to run ___grecaptcha_cfg.clients[0].aa.l.callback I get this:
So...um..where to from here? lol
I've already been able to:
1. Get Recaptcha sitekey from source
2. Send sitekey to DeathByCaptcha service
3. Poll DBC until I get a JSON object back containing the recaptcha key
4. Set key value in "g-recaptcha-response"
I'm stuck on the last step - submitting the recaptcha. The site I'm testing this on doesn't have a submit button ie this:
The documentation says a "callback function" is used in some sites instead of a submit button:
I ran ___grecaptcha_cfg.clients[0] in my browser console and I'm getting this:
But when I try to run ___grecaptcha_cfg.clients[0].aa.l.callback I get this:
So...um..where to from here? lol