How to create a deathbycaptcha desktop app ?

stallion45d

Power Member
Joined
Oct 11, 2011
Messages
735
Reaction score
464
Hi, I use deathbycaptcha for captcha solving. I would like to create some kind of desktop app . On their site they give these steps:

How to use our API clients

Download the latest client, add it to your application and write something along the lines below, f.i in PHP:
require_once 'deathbycaptcha.php';

// Put your DBC credentials here.
// Use DeathByCaptcha_HttpClient class if you want to use HTTP API.
$client = new DeathByCaptcha_SocketClient(USERNAME, PASSWORD);

// Put the CAPTCHA file name or handler, and desired timeout (in seconds) here:
if ($captcha = $client->decode(CAPTCHA_FILE_NAME, TIMEOUT)) {
echo $captcha['text'] . "\n";

// Report the CAPTCHA if solved incorrectly.
// Make sure the CAPTCHA was in fact incorrectly solved!
if ( ... ) {
$client->report($captcha['captcha']);
}
}

// Repeat for other CAPTCHAs


I am totally lost as my programming skills about this equal to 0. Could anyone help me?

thanks in advance.
 
Running the script using php-cli.
Fill in your details for the service. Should be good to go I guess.
 
Maybe python will be a better choice for an application which will run under windows. The php "world" it's not agreeing about running on windows, even if that's possible.
 
Back
Top