I need to log in to the website using C #. The authorization form contains reCAPTCHA. It is necessary to process it somehow (i.e., pull out the pictures, the text of the assignment and allow the user to solve this matter).
For starters, I see an empty div class="g-recaptcha" data-sitekey="..." . From here you can take the value of the data-sitekey . Let's follow the link https://www.google.com/recaptcha/api/challenge?k=[data-sitekey value] and something like this page will load:
var RecaptchaState = { challenge : '...', server : 'https://www.google.com/recaptcha/api/', site : '...', ... }; document.write('<scr'+'ipt type="text/javascript" s'+'rc="' + RecaptchaState.server + 'js/recaptcha.js"></scr'+'ipt>'); How can I pull pictures with reCAPTCHA? The old reCAPTCHA seemed to be a single image that could be downloaded at the following address: http://www.google.com/recaptcha/api/image?c=[challenge from RecaptchaState] . What to do with the new, I do not know. Not really versed in web programming.
UPD: Perhaps there is another solution in which we do not need to receive a picture. It may be possible to somehow display the captcha to be passed by the user. Something like WebBrowser, but not the whole page, but only the captcha itself, obtained from WebResponse.
recaptcha.js, it still draws a picture, see how and from what, then repeat :) a lot of recaptcha services, as a piece of advice, look for a php implementation for this type of captcha, it probably is in nature, and you will not make php labor to understand what and how and repeat on C #. - NewView