Captcha Crack problem

seemayer

Junior Member
Joined
Jan 2, 2009
Messages
108
Reaction score
15
Hi guys, looking for some pointers on a problem i am working on

I am trying to produce a script to crack a captcha and submit the result - it only needs to work on the client

The problem is as follows:

Website has a countdown timer
When timer finishes a button becomes active which i need to click
Once clicked a captcha appears
I need the script to solve the captcha and submit the solved text into a text box on the web page and then hit the submit button

I have got as far as producing a script in python that can take an captcha image file and try to solve the captcha but it involves writing to disk on the client

I was thinking about trying to write a chrome extension that waits for the button to appear (once timer has finished) and then somehow scrapes the captcha image and passes to the python script which then solves the captcha and returns the result to the chrome extension which submits the result

Is this even possible? i seem to have hit a dead end and could do with some advice from some experienced coders

Thanks in advance for your suggestions
 
Well I would love to help, but like many other people on this forum we don't know how to code a captcha cracking program. I am not fluent in python so I can't lend much help, but I would first focus on making the captcha cracker, and then worry about scraping the image from a website. Its a pretty big job, but good luck.
 
Use imacros for firefox. Just read a few tutorials and you'll get it.
You'll have to write a short script that will look something like this:
Code:
URL GOTO=www.yoururl.com
WAIT SECONDS=20
TAG POS=1 TYPE=IMG ATTR=HREF:http://www.iopus.com/ CONTENT=EVENT:SAVEPICTUREAS

in the third line, instead of ATTR=HREF:http://www.iopus.com/ use something else that identifies the captcha (use firebug extension to find it out), you'll have to research ATTR (just google it)
It will save the image to its folder and then you can use imacros again to pass it to whatever captcha service you want (in another firefox tab) and when it returns an answer, make the script type it in.
 
One solution is to scrape the image using imacros as above. However, instead of using SAVEPICTUREAS you need to use SAVEITEM; some webservers will issue another captcha if you use SAVEPICTUREAS whereas SAVEITEM fetches teh captcha image out of the browser cache.

Once you have got the image saved, use TAB OPEN to open another tag with your python captcha cracking script running on localhost apache. Solve the captcha, switch back to TAB 1 using imacros, fill in the right textarea and away you go.

You can also use this technique to solve captchas using decaptcher etc within your browser with imacros, by running your decaptcher API script on localhost in another tab.

Hope that made sense.
 
I think what he is trying to get at is his captcha python code is not working... and that is a problem that 99% of people on BH will not be able to give you any sort of help on a program to solve captchas accurately requires an immense amount of code. You might be able to get some help at dreamincode or w/e its called. Good programming forum.
 
hi guys, thanks for the tips, that was exactly what i needed, it has given me some good pointers. It was the passing between the browser and the script that i was having trouble with but i think i see how it should work, good stuff, thanks all round
 
Back
Top