mirror of
https://github.com/GrandDuke1106/MCBBSAutoSignIn.git
synced 2024-07-03 21:35:25 +00:00
20 lines
397 B
PHP
20 lines
397 B
PHP
<?php
|
|
|
|
set_time_limit(130);
|
|
|
|
require(__DIR__ . '/../src/autoloader.php');
|
|
|
|
$solver = new \TwoCaptcha\TwoCaptcha('YOUR_API_KEY');
|
|
|
|
try {
|
|
$result = $solver->rotate([
|
|
__DIR__ . '/images/rotate.jpg',
|
|
__DIR__ . '/images/rotate_2.jpg',
|
|
__DIR__ . '/images/rotate_3.jpg',
|
|
]);
|
|
} catch (\Exception $e) {
|
|
die($e->getMessage());
|
|
}
|
|
|
|
die('Captcha solved: ' . $result->code);
|