uBot studio help needed

The Blackhat Guy

Elite Member
Joined
Oct 15, 2014
Messages
2,096
Reaction score
830
Hi,
Can someone help me to integrate some captcha API into ubot?
I really appreciate your answers.
Below are a the api's
b2e7502d24454b4b9980a6d6f5ff928c.jpeg



0f3b5ef9183e45ef93f1c68454addec7.jpeg

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

...or in C#:
// Do not forget to reference DeathByCaptcha.dll in your project!
using DeathByCaptcha;

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

// Put your CAPTCHA file name, stream, or vector of bytes,
// and desired timeout (in seconds) here:
Captcha captcha = client.Decode(CAPTCHA_FILE_NAME, TIMEOUT);
if (captcha.Solved && captcha.Correct) {
Console.WriteLine("CAPTCHA {0}: {1}", captcha.Id, captcha.Text);

// Report the CAPTCHA if solved incorrectly.
// Make sure the CAPTCHA was in fact incorrectly solved!
if ( ... ) {
client.Report(captcha);
}
}

// Repeat for other CAPTCHAs
 
Last edited:
Back
Top