[GUIDE] Recaptcha v2 bypass and callbacks

NOTE BY RURI: This also works for Selenium


Hope this topic help who is on pain with callbacks

Read this topic first, if only this doesn’t solve ur problem continue reading below:

Now as you already know, you need fill the recaptcha solution to an hidden input of recaptcha, after this you should submit your form.

No working?
Take this a example and try follow this steps:

1- go to your target url, inspect elements, click on console tab
2- start typing: ___grecaptcha_cfg

image

press enter, and you will see a child row (client 0), click

image

Now search for your site key, in this case here is:

image

Your callback should be inside row of sitekey, so continue opening and here is:

image

Now back to your config, if your connection is slow doesn’t forget to use WAIT FOR ELEMENT BLOCKS

image

Inside solve recaptcha block fill site url and site key inputs correctly (with data from your target url)
Do not forget to set the solution string name

image

Now send your captcha response in FIRST EXECUTE JS BLOCK:

document.getElementById("g-recaptcha-response").innerHTML="<solution>"; 

Now send your callback in SECOND EXECUTE JS BLOCK:

image

In this case, the result of copy is: clients[0].Y.Y.callback
just add __grecaptcha before

Like this:

___grecaptcha_cfg.clients[0].Y.Y.callback('t=>this.zone.run(()=>this.handleCallback(t))');

Now just submit your form. it should works

NOW THE MOST IMPORTANT THING:

DO NOT FORGET CLICK IN [ T ]

image

AND CHANGE TO </> or you can going crazy like me because nothing is working.

image

12 Likes

Moved to guides, thanks a lot :heart:

5 Likes

Really nice guide :grinning:
(20 chars)

5 Likes

Just one thing, </> is actually only required in the first block, the second one would be fine with T as well since you don’t put any variables in it.

5 Likes