![]() |
|
[.NET] Click ReCAPTCHA on Webbrowser - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [.NET] Click ReCAPTCHA on Webbrowser (/showthread.php?tid=5457549) |
Click ReCAPTCHA on Webbrowser - Mad Hatter - Nov 7, 2016 Hey guys I'm in need of some help. I need to be able to click the reCAPTCHA checkbox/button to popup the window where it shows the pictures. I literally just need to know how to make this popup: ![]() If anyone has any ideas/suggestions please let me know. I've tried to do everything that I know to do and no progress I've been stuck on this little problem for over an hour now. A link to a site that has reCAPTCHA so you can test out your idea is here: https://www.google.com/recaptcha/api2/demo * - Ninja - Nov 7, 2016 There are services that solve the captchas for you, like decaptcher. You send them the sitekey and domain and they return a g-recaptcha-response token to send to the website. I never used them with webbrowsers though, only with webrequests. * - Fortiond - Nov 8, 2016 This is the only way I know. It took me nearly one hour 😵 Don't know whether this will work for you. Add this code to DocumentCompleted event of the WebBrowser control. Hope this works 🤝 * - Support™ - Nov 8, 2016 I am guessing that the re-captcha content is loaded in a separate iframe dynamically. If you are using the default WebBrowser Control, it doesn't offer much support to iframes and it won't help you. I recommend switching to browsers that support Chromium, such as CEFSharp or WebKitBrowser. * - Ninja - Nov 8, 2016 I suggest you learn how to use the HttpClient. Then you can use services like Decaptcher for the Recaptcha. * - mrkoolaid - Nov 8, 2016 I don't know if tesseract has a .NET library but I have used it in the past for OCR work with scanned documents. Implementing something like this for Google's recaptcha would be a pain as they randomly throw pics in there, divide it and have you identify the pieces. Since there are billions of objects in the world, it is hard to create something that will recognize them all or even come close percentage wise in guessing to work properly. I suggest finding a new method (way) to do what your trying to do. Re-think it, there is probably (and usually) an easier way. |