Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 04:34

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



deathbycaptcha + autoit

Discussion on deathbycaptcha + autoit within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2014
Posts: 16
Received Thanks: 1
deathbycaptcha + autoit

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
lkowa is offline  
Old 01/22/2015, 15:59   #2
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
Yeah the api over the UDF is not working with mine either. I'm sending captchas via their command line tool.

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
alpines is offline  
Thanks
2 Users
Old 01/22/2015, 20:36   #3
 
elite*gold: 0
Join Date: May 2014
Posts: 16
Received Thanks: 1
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!
lkowa is offline  
Reply




All times are GMT +1. The time now is 04:34.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.