mirror of
https://github.com/GrandDuke1106/MCBBSAutoSignIn.git
synced 2024-10-01 16:26:11 -04:00
16 lines
292 B
PHP
16 lines
292 B
PHP
<?php
|
|
|
|
set_time_limit(130);
|
|
|
|
require(__DIR__ . '/../src/autoloader.php');
|
|
|
|
$solver = new \TwoCaptcha\TwoCaptcha('YOUR_API_KEY');
|
|
|
|
try {
|
|
$result = $solver->grid(__DIR__ . '/images/grid.jpg');
|
|
} catch (\Exception $e) {
|
|
die($e->getMessage());
|
|
}
|
|
|
|
die('Captcha solved: ' . $result->code);
|