x-glacier/kali-pentest / kali-pentest-zh
kali-pentest-zh
Flagged通过 SSH 或 Docker 使用 Kali Linux CLI 工具执行授权渗透测试。 覆盖:信息收集、漏洞分析、嗅探与欺骗、Web/API 渗透、漏洞利用、密码攻击、无线、云原生安全、RFID/NFC、VoIP/ICS、逆向工程、取证分析、后渗透/C2、报告生成。
references/password/tools/patator.md
View on GitHub# Patator
- **Category**: Password Attacks / Multi-Protocol Brute Force
- **Risk Level**: 🔴 High
---
## 描述
patator 是模块化多协议爆破和测试框架。它支持 SSH、FTP、SMTP、HTTP、SMB、RDP、数据库、SNMP 等大量服务模块。当 hydra 或 medusa 无法覆盖特定协议行为,或需要更灵活的过滤和模块级控制时使用。
## 安装
```bash
sudo apt install patator
patator --help
```
## 参数说明
| 参数 | 说明 |
|-------------|------|
| `patator <module>` | 运行模块,如 `ssh_login`、`ftp_login`、`http_fuzz`、`smb_login` |
| `host=<host>` | 目标主机 |
| `user=FILE0` | 使用第一个文件作为用户名列表 |
| `password=FILE1` | 使用第二个文件作为密码列表 |
| `0=<file>` | 映射为 `FILE0` 的文件 |
| `1=<file>` | 映射为 `FILE1` 的文件 |
| `-x ignore:<cond>` | 忽略匹配条件的结果 |
| `-x quit:<cond>` | 匹配条件时停止 |
| `-t <n>` | 线程数 |
## 常用命令
```bash
# SSH 爆破
patator ssh_login host=192.168.1.100 user=FILE0 password=FILE1 0=users.txt 1=passwords.txt -x ignore:mesg='Authentication failed'
# FTP 爆破
patator ftp_login host=192.168.1.100 user=FILE0 password=FILE1 0=users.txt 1=passwords.txt -x ignore:code=530
# SMB 爆破
patator smb_login host=192.168.1.100 user=FILE0 password=FILE1 0=users.txt 1=passwords.txt
# HTTP 表单 fuzz
patator http_fuzz url=http://target.com/login method=POST body='user=FILE0&pass=FILE1' 0=users.txt 1=passwords.txt -x ignore:fgrep='Invalid'
# 首次匹配成功后停止
patator ssh_login host=192.168.1.100 user=FILE0 password=FILE1 0=users.txt 1=passwords.txt -x quit:fgrep!='Authentication failed'
```
## 注意事项
1. 在线爆破或喷洒前必须确认账号锁定策略。
2. 每个模块参数和过滤条件不同,应运行 `patator <module> --help`。
3. 使用 `-x ignore` 隐藏失败结果,让成功尝试更明显。
4. AD 环境中优先使用密码喷洒而不是暴力爆破;适用时使用 `kerbrute` 或 `netexec`。
5. Patator 很灵活但容易配置错误;可能时先用一组已知有效凭据测试。
---
## 官方参考
- [patator GitHub](https://github.com/lanjelot/patator)
- [Kali patator](https://www.kali.org/tools/patator/)
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |