Imacros help needed please read

snakemannva

Registered Member
Joined
May 24, 2009
Messages
67
Reaction score
4
Hello i am wondering is there someone out here who knows a code to use with Decaptch.com with imacros so it can solve the captchs? If so could someone help me out and let me know what it is because i can not find it nowhere
 
Hey, I`ve done it myself a week or so ago, it works just fine for me, but you`ll have to install a server like xampp(or wamp) on your PC

Code:
ONDOWNLOAD FOLDER=C:\xampp\htdocs\api\ FILE=Captcha.jpeg WAIT=YES
TAG POS=1 TYPE=IMG ATTR=HREF:*api-secure.recaptcha.net/* CONTENT=EVENT:SAVEPICTUREAS
TAB OPEN
TAB T=2
URL GOTO=http://localhost/api/main.php
TAG POS=1 TYPE=BODY ATTR=TXT:* EXTRACT=TXT
TAB CLOSE
TAB T=1
CLICK X=218 Y=276 CONTENT={{!EXTRACT}}

So, the first line tells to save as Captcha.jpeg in the server root
The second scrapes the captcha itself (this is for the craigslist captcha, but I`ll assume you can use it with every reCaptcha, which is like ... everywhere :) )
Code:
GOTO=http://localhost/api/main.php
This one is calling the API file that you find on the decaptcher site.
Code:
CLICK X=218 Y=276
This came up as a ultimate solution :) because I couldn`t figure out the better way :)
so it could not work on your PC (?????), because of the screen res ... (?? not sure ??)

Good luck.
 
Oh ... yes ... also forgot to mention, I`ve modified the API php file so it would output ONLY the captcha result, and would not show the "Logging in ...", "That many credits left ..." (or whatever) crap ...
 
If you use beatcaptchas_dot_com the code would look like this:

<your start of the macro is here>

'typically you put this code when you are first able to see/download the captcha

'this deletes the previous captcha picture otherwise imacros will have errors

FILEDELETE NAME=c:\pic.jpg

'this sets where you want to download the captcha to on your computers. You MUST call the captcha pic.jpg otherwise errors might happen

ONDOWNLOAD FOLDER=c:\FILE=pic.jpg

'this downloads the captcha you do this by using the SAVE ITEM command while recording and click on the captcha
TAG POS=1 TYPE=IMG ATTR=HREF:<THIS IS WHERE YOU INSERT CAPTCHA HREF>CONTENT=EVENT:SAVEITEM

'this opens and brings you to a new tab to upload your captcha

TAB OPEN
TAB T=2
URL GOTO=http://beatcaptchas.com/captcha.php

'you are given a key upon signup and you paste it here
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:upload.php ATTR=ID:key CONTENT=<PASTE KEY HERE>

'this is the location of your captcha on your computer to upload
TAG POS=1 TYPE=INPUT:FILE FORM=ACTION:captcha.php ATTR=NAME:file CONTENT=C:\pic.jpg
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:captcha.php ATTR=NAME:submit

'once submitted it will take a short time to solve the captcha and once completed you will automatically extract the captcha text
TAG POS=1 TYPE=BODY ATTR=TXT:* EXTRACT=TXT

'this sets the captcha as variable 1 to use later
SET !VAR1 {{!EXTRACT}}
TAB T=1

'this shows an example of how to input the variable into the captcha input

TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:regFormBody ATTR=ID:captcha CONTENT={{!var1}}

<END OF MACRO HERE>

If you are confused about how to write a macro or have any other questions about it send questions to support_at_beatcaptchas_com_com
 
Hello create a HTML file and send those captcha HTTP post direct to the decaptche. you get HTTP API in decaptchers tools section. its will work on Linux to.
 
Back
Top