Hack Forums
[.NET] Just woke up, can't think of how to grab and display captcha to end user - 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] Just woke up, can't think of how to grab and display captcha to end user (/showthread.php?tid=5236155)



Just woke up, can't think of how to grab and display captcha to end user - ·Evolved· - Apr 13, 2016

As the title says, I just woke up and my brain is running very slow. Basically what I'm doing is loading a login page into an invisible browser, setting the attributes to the user/pass, and now I want to display JUST the reCaptcha to the end user for them to solve so the login can continue.

It's the new(er) "Select all the images with..." one, so its size is a bit inconsistent.

Anyone have any tips?


* - Ninja - Apr 13, 2016

just extract the image from the source..? use regex, or html parsing, or whatever floats your boat.


* - deiski - Apr 14, 2016

(Apr 13, 2016 12:06 PM)Ninja Wrote:  just extract the image from the source..? use regex, or html parsing, or whatever floats your boat.

Are you joking?
(Apr 13, 2016 05:55 AM)·Evolved· Wrote:  It's the new(er) "Select all the images with..." one, so its size is a bit inconsistent.



* - Ninja - Apr 14, 2016

(Apr 14, 2016 07:56 AM)+Cyan Wrote:  Are you joking?

Still. DBC and other services offer to solve those as well. They return grid positions to click (ie. 1x3 for the first image in the third row).


* - ·Evolved· - Apr 24, 2016

(Apr 14, 2016 08:46 AM)Ninja Wrote:  Still. DBC and other services offer to solve those as well. They return grid positions to click (ie. 1x3 for the first image in the third row).

I'm not looking for something to auto-solve it, I'm looking to auto-display it to the end user, so THEY can solve it. That's the problem.


* - MalwareMop - Apr 24, 2016

(Apr 24, 2016 01:46 PM)·Evolved· Wrote:  I'm not looking for something to auto-solve it, I'm looking to auto-display it to the end user, so THEY can solve it. That's the problem.

Provide the code you're using, and site you're attempting to extract the Captcha from it sounds like you just want someone to do it for you as the answer has already been provided to you.

I'll do my best to work something out.


* - Dredd - Apr 25, 2016

The easiest way I can think of yet possibly the most disgusting way of doing it would be to make the browser element the size of the captcha element and make the browser element scroll to the captcha and disable scrolling.

If you're looking for a quick fix the above would work but it's probably the least elegant way of doing it.

Thanks,
🎉


EDIT:

Just quickly chucked this together hope this can be of help to you,
Looks like this Spoiler (Click to View)
https://www.dropbox.com/s/mbh90p2mspd9ky7/Captcha%20by%20HF%20Pirate.zip?dl=0
I used this site as an example site https://www.google.com/recaptcha/api2/demo got any questions feel free to ask me.

🎉


* - ·Evolved· - Apr 25, 2016

Thanks pirate, I'll review the code and see if I can modify it to my needs. I can't stand the new captcha system haha