cylab/dokos-php
最新稳定版本:1.0.0
Composer 安装命令:
composer require cylab/dokos-php
包简介
Simple PHP password spaying library and CLI
README 文档
README
A simple password spraying library in PHP.
Usage
Library
Installation:
composer require cylab/dokos-php
Usage:
use Cylab\Dokos\Config;
use Cylab\Dokos\Dokos;
$config = new Config("https://brutus.play.cylab.be");
$config->setLogin("jane.doe@example.com");
$dokos = new Dokos($config);
$result = $dokos->run();
var_dump($result->found);
By default the library does not print anything. You can also provide a Psr\Log\LoggerInterface instance as second argument, to get some feedback:
use Monolog\Logger;
use Monolog\Handler\StreamHandler;
$logger = new Logger("dokos");
$logger->pushHandler(new StreamHandler("php://stdout"));
$dokos = new Dokos($config, $logger);
CLI
git clone https://gitlab.cylab.be/cylab/dokos-php.git
cd dokos-php
composer install
php dokos.php --url https://brutus.play.cylab.be --passwords src/1000-password-list.txt --threads 10 --login_field email --login jane.doe@example.com --password_field password --failed "Bad combination of e-mail and password!"
统计信息
- 总下载量: 54
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-03-17