定制 cylab/dokos-php 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

cylab/dokos-php

最新稳定版本:1.0.0

Composer 安装命令:

composer require cylab/dokos-php

包简介

Simple PHP password spaying library and CLI

README 文档

README

pipeline status coverage report

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-03-17