mirror of
https://github.com/GrandDuke1106/MCBBSAutoSignIn.git
synced 2024-11-19 10:46:11 -05:00
22 lines
617 B
PHP
22 lines
617 B
PHP
<?php
|
|
|
|
set_time_limit(130);
|
|
|
|
require(__DIR__ . '/../src/autoloader.php');
|
|
|
|
$solver = new \TwoCaptcha\TwoCaptcha('YOUR_API_KEY');
|
|
|
|
try {
|
|
$result = $solver->keycaptcha([
|
|
's_s_c_user_id' => 10,
|
|
's_s_c_session_id' => '493e52c37c10c2bcdf4a00cbc9ccd1e8',
|
|
's_s_c_web_server_sign' => '9006dc725760858e4c0715b835472f22-pz-',
|
|
's_s_c_web_server_sign2' => '2ca3abe86d90c6142d5571db98af6714',
|
|
'url' => 'https://www.keycaptcha.ru/demo-magnetic/',
|
|
]);
|
|
} catch (\Exception $e) {
|
|
die($e->getMessage());
|
|
}
|
|
|
|
die('Captcha solved: ' . $result->code);
|