Hello.

The problem, as I think, came across to many, but now I have a problem with it. It is necessary to bypass Google's captcha. I tried to parse a link like this:

https://www.google.com/recaptcha/api/challenge?k=6Ld8RcESAAAAAEo6_M9BjluesU7nWtdKmhIeU-jD

I took the field of challenge from there, and as a result I got a link to the image of the captcha, when switching to which the image was loaded, different from the one that was on the filling form of this captcha itself.

https://www.google.com/recaptcha/api/image?c=03AHJ_Vuvd4355JF1_Up26FnRQ-ZzXI2brUexqfmDfeSuM2suiANMkKI35eK8zH90lDiunUcwXjmK9pXL0ctU5nnhvPkoQq6KdRj7NFJ4gOoXfQucViu_HeJlhiFbn83xzYcyXAJv7r6v6MaUvLIh6hn8OjJyEzKxYGMdGvSLjj2VmK3Nh9-nWrGUzgCr8t2XIsAXvqj9OUJLXYRi9ZXz73SKRTSoo5jTDpA

Moreover, the image had to guess already 2 words.
Then I tried to pull out the captcha URL from the page code via webbrowser, which is displayed on the page. Everything died down because the webbrowser does not see the recaptcha_challenge_image , by which I wanted to get the src attribute.

 <div id="recaptcha_image" style="width: 300px; height: 57px;"><img id="recaptcha_challenge_image" alt="Проверка по слову reCAPTCHA" height="57" width="300" src="https://www.google.com/recaptcha/api/image?c=03AHJ_VuuNAPsln1Jmd_wBVEquVj_BF_96uG6QfKdv........."></div> 
  • And here it is not tried 03AHJ_Vuvd4355JF1_Up26FnRQ-ZzXI2brUexqfmDfeSuM2suiANMkKI35eK8zH90lDiunUcwXjmK9pXL0ctU5nnhvPkoQq6KdRj7NFJ4gOoXfQucViu_HeJlhiFbn83xzYcyXAJv7r6v6MaUvLIh6hn8OjJyEzKxYGMdGvSLjj2VmK3Nh9-nWrGUzgCr8t2XIsAXvqj9OUJLXYRi9ZXz73SKRTSoo5jTDpA substituted into g-recaptcha-response ?? I'm also very interested in bypassing this protection with skypmovostario - user204922

2 answers 2

Never had to dig there ...
One thing is clear for sure - one appeal produces one (ideally unique) captcha. And each time is different.
Those. if you want to get the current URI, then it is easier to request the entire code, parse the values ​​from there and request a captcha for them - it will be valid.
One request from you will generate a captcha and one answer from you will solve it.
This is how ordinary websites work, Google, of course, can show off, but not by much, I think.

    Make it so that the images are loaded once and then sent through the API to the captcha recognition services.