juniorb2ss / deathbycaptcha-php-sdk
使用Death by Captcha,您可以解决任何验证码。您只需要实现我们的API,发送您的验证码给我们,我们就会返回文本。就这么简单!
1.1.1
2018-01-03 12:14 UTC
Requires
- php: ^7.0
- guzzlehttp/guzzle: ^6.3
- intervention/image: ^2.0
Requires (Dev)
- mockery/mockery: dev-master@dev
- phpunit/phpunit: ~4.0
- spatie/phpunit-watcher: ^1.1
- squizlabs/php_codesniffer: 3.*
This package is not auto-updated.
Last update: 2024-09-21 00:53:48 UTC
README
正确绕过验证码
使用Death by Captcha,您可以解决任何验证码。您只需要实现我们的API,发送您的验证码给我们,我们就会返回文本。就这么简单!
请注意,我们的服务仅限于用于研究项目,任何非法使用我们的服务都是严格禁止的。任何绕过和违反验证码的行为都应该报告给emailcom。
juniorb2ss/deathbycaptcha-php-sdk
是一个简化Decaptcha使用的包!
安装
您可以通过composer安装此包。
$ composer require juniorb2ss/deathbycaptcha-php-sdk~1.*
示例
use juniorb2ss\DeathByCaptcha\DeathByCaptcha; // You need first register and buy credits in http://www.deathbycaptcha.com $dbc = new DeathByCaptcha('yourUsername', 'yourPassword'); // To retrieve service status $serviceStatus = $dbc->status(); // To get user informations $user = $dbc->account(); echo 'My Credits: ' . $user->getBalance(); //1232.2881 // you can pass: path image, base64, image link $captcha = $dbc->resolve('captcha.jpg'); // supports recaptcha v2 // $captcha = $dbc->resolveV2($googleKey, $webUrl); // This is captcha ID in service, you need call resolve method with this ID seconds later. $captchaId = $dbc->captchaId(); // make a simple loop or just sleep // sleep(7); $captchaText = $dbc->resolve((int) $captchaId) // return captcha text for human
测试
composer run test
变更日志
有关最近更改的更多信息,请参阅变更日志。
鸣谢
许可
MIT许可(MIT)。有关更多信息,请参阅许可文件。