johnjohn123
Registered Member
- Jun 19, 2012
- 68
- 28
Okay so basically I need to use deathbycaptcha's service to break some captchas but I can't really figure out how to use their API. They have an autoit API client that is provided to use but I don't know how to use it.
So far I have my bot designed such that once it gets to a captcha, it will save the captcha image to the c drive. Let's just say it saves the captcha image to "c:/image.jpg" for the sake of this explanation. So now I have the image and I need it sent to deathbycaptcha's service to get solved and need the result returned back into a variable so I can solve the captcha.
Here is an excerpt code sample:
Where exactly do I put my DBC username, password and captcha filename? Lets just say my username is "123" password "123" and as above the file name is "c:/image.jpg". The whole $CmdLine[1] is what is throwing me off.
So far I have my bot designed such that once it gets to a captcha, it will save the captcha image to the c drive. Let's just say it saves the captcha image to "c:/image.jpg" for the sake of this explanation. So now I have the image and I need it sent to deathbycaptcha's service to get solved and need the result returned back into a variable so I can solve the captcha.
Here is an excerpt code sample:
Code:
; Usage example
; =============
;
; Call DeathByCaptchaDecode() function with your DBC username, password,
; CAPTCHA file name, and desired solving timeout (in seconds) as arguments.
; You'll receive an array of two elements: numeric CAPTCHA ID and its text;
; CAPTCHA ID will be greater than zero if the CAPTCHA was solved.
;
$result = DeathByCaptchaDecode($CmdLine[1], $CmdLine[2], $CmdLine[3], 60)
MsgBox(0, "decode()", StringFormat('ID: %s, text: %s', $result[0], $result[1]))
Where exactly do I put my DBC username, password and captcha filename? Lets just say my username is "123" password "123" and as above the file name is "c:/image.jpg". The whole $CmdLine[1] is what is throwing me off.
Last edited: