Hi!Hello,
I'm new here. Could someone please help me to bypass ReCaptcha at craiglist?
Hi!
I recommend you to use token method provided by captcha bypassing services like 2captcha: https://2captcha.com/2captcha-api#solving_recaptchav2_new
The main issue on craiglist is that ReCaptcha is initialized only when you click on "reply" button.
The process mainly looks like:
1. Click on "reply".
2. When ReCaptcha appear - click outside ReCaptcha to close the challenge.
3. Find sitekey value and send it to API.
4. Get the token and put it into g-recaptcha-response field.
5. Execute the callback function. As it's an anonymous function on craiglist you can call it this way:
___grecaptcha_cfg.clients[0].ba.l.callback("YOUR_TOKEN");
6. Done.
document.getElementsByClassName('reply_button')[0].click(); //click on "Reply"
//recaptcha is initialized and a challenge appears
document.elementFromPoint(1, 1).click(); //click outside to close the challenge
document.getElementById('g-recaptcha-response').value="PLACE_THE_TOKEN_HERE"; //put the token into g-recaptcha-response field
___grecaptcha_cfg.clients[0].ba.l.callback("PLACE_THE_TOKEN_HERE"); //execute the callback passing the token as argument
All HTML related to ReCaptcha appears only when you click on "Reply" and at the same time ReCaptcha config object is initialized.Thank you for the reply.
I am still stuck at step 3. Find sitekey value
I am clicking Reply and then clicking outside but I see no sitekey in the html source of the page.
Can you detail a bit more please?
___grecaptcha_cfg.clients[0].aa.l.sitekey
Thank you v much, that part worked now.
I am now getting an error when doing document.getElementById('g-recaptcha-response').value="PLACE_THE_TOKEN_HERE";
The error is:
VM104:1 Uncaught TypeError: Cannot set property 'value' of null
at <anonymous>:1:54
Sorry to keep bugging you with questions, I tried a lot to fix myself first but without success