deathbycaptcha + autoit

01/22/2015 02:28 lkowa#1
Hi everyone!

I want to include the deathbycaptcha API to an autoit script. Of cause i have some autoit skills but i can't get this run and need some help. I will pay for a working snippet :) If you don't want to post here please pm me!


Example:

I have a .gif from the captcha. Now i want the script to solve the captch with deathbycaptcha and get the solved captcha back so i can work with it. That's it!


In the API is an example but that isn't helpful because it doesn't work. The support don't want to help me too.



Love
lkowa
01/22/2015 15:59 alpines#2
Yeah the api over the UDF is not working with mine either. I'm sending captchas via their command line tool. [Only registered and activated users can see links. Click Here To Register...]

Also I've made two functions to send / report them but I think they're outdated now - you can still give it a shot if you want to.
Code:
Func _DeathByCaptchaCmdDecode($sUsername, $sPassword, $sCaptchaFile)
	If FileExists("response.txt") Then FileDelete("response.txt")
	RunWait(@ComSpec & " /c ""deathbycaptcha.exe -l " & $sUsername & " -p " & $sPassword & " -c """ & $sCaptchaFile & """ >> response.txt""", @ScriptDir, @SW_HIDE)
	Return StringRegExp(FileRead("response.txt"), "(\d+) (.+?)" & @CRLF, 3)
EndFunc

Func _DeathByCaptchaCmdReport($sUsername, $sPassword, $iCaptchaID)
	RunWait(@ComSpec & " /c ""deathbycaptcha.exe -l " & $sUsername & " -p " & $sPassword & " -n " & $iCaptchaID & """", @ScriptDir, @SW_HIDE)
EndFunc
01/22/2015 20:36 lkowa#3
Hi alpines!

You are my man! I spend hours with the stupid API and now i tryed your snippet and it worked on the first try!

Thank you!