CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
mechanise and captcha

 



gerble1000
User

May 26, 2012, 4:23 AM

Post #1 of 5 (2370 views)
mechanise and captcha Can't Post

hi guys
i want to get a register form but the form has a captcha inside.
what i need to do is forward this login form to user with captcha image and then when they submit it my script will do the submiting.
i basicly want my script to be a middle man so i can fill out all the useless crap on the forms :)
how would you go about this


Zhris
Enthusiast

May 28, 2012, 12:21 PM

Post #2 of 5 (2279 views)
Re: [gerble1000] mechanise and captcha [In reply to] Can't Post

Hi,

I don't know anything about the forms / code / captchas you will be trying to bypass (no considering the many factors that must be considered i.e. error checking, timeout, screenreader feasibility, captcha innerworkings etc etc etc) but I have a suggestion based on your description:

1) Use WWW::Mechanize to navigate to the form.
2) Use WWW::Mechanize::Firefox to take a screenshot, preferably of the captcha alone.
3) Forward the screenshot / other data to the user.
4) Sleep whilst waiting for a response from the user (can't re-request form).
5) When user responds (i.e. updated database), post the form with the data they supplied.

Chris


(This post was edited by Zhris on May 28, 2012, 12:30 PM)


gerble1000
User

May 28, 2012, 2:26 PM

Post #3 of 5 (2272 views)
Re: [Zhris] mechanise and captcha [In reply to] Can't Post

sounds like a plan, i shall look into this tomorow,
thanx :)


gerble1000
User

May 29, 2012, 12:29 PM

Post #4 of 5 (2238 views)
Re: [gerble1000] mechanise and captcha [In reply to] Can't Post

could anybody supply me an example to work from please


Zhris
Enthusiast

May 30, 2012, 1:24 PM

Post #5 of 5 (2047 views)
Re: [gerble1000] mechanise and captcha [In reply to] Can't Post

Hi,

If you supplied a detailed specification, I would love to provide an example. I would ideally need to view the form you are attempting to process to ensure the best approach is taken.

Chris

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives