
Pentx 是一项高级的 5 阶段 VAPT(漏洞评估与渗透测试)技能,可执行完整的渗透测试,并为每个发现生成详细的概念验证(Proof-of-Concept)。
| 工具检查 | 扫描进度 | 报告 |
|---|---|---|
![]() | ![]() | ![]() |
┌─────────────────────────────────────────────────────────────────────┐
│ ✅ 5-Phase Pipeline │ Recon → Scan → Vuln → Exploit → Report │
│ ✅ 30+ Tools │ nmap, nuclei, sqlmap, ffuf, owscan... │
│ ✅ Auto-Install │ Missing tools via onex (370+ tools) │
│ ✅ PoC Generation │ Every finding with proof-of-concept │
│ ✅ Multi-Format Reports│ HTML, Markdown, JSON, CSV, SARIF │
│ ✅ Non-Standard Ports │ Full support for custom ports │
│ ✅ Cross-Validation │ Two-source confirmation for accuracy │
└─────────────────────────────────────────────────────────────────────┘
# Auto-install all tools via onex
cd ~/.pi/agent/skills/pentx/scripts
python3 lib/tool_manager.py auto
# Or manually check
bash tools_check.sh
python3 pentx.py https://target.com:4280/
python3 pentx.py https://target.com --phase 1 # Recon only
python3 pentx.py https://target.com --phase 3 # Vuln assessment
python3 pentx.py https://target.com --phase 5 # Report only
python3 pentx.py https://target.com --fast # Skip nmap + nuclei
python3 pentx.py https://target.com --no-exploit # Read-only
| 工具 | 用途 | 必需 |
|---|---|---|
| 端口/服务/漏洞扫描 | ✅ | |
| 基于模板的漏洞扫描 | ✅ | |
| 存活主机探测 | ✅ | |
| SQL 注入自动化 | ✅ | |
| 目录/文件模糊测试 | ✅ | |
| Web 服务器扫描 | ⚠️ | |
| Web 漏洞扫描器 | ⚠️ | |
| 子域名枚举 | ⚠️ |
┌──────────────────────────────────────────────────────────────────────┐
│ │
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ │ PHASE 1 │→ │ PHASE 2 │→ │ PHASE 3 │→ │ PHASE 4 │→ │ PHASE 5 │
│ │ Recon │ │ Scan │ │ Vuln │ │ Exploit │ │ Report │
│ │ │ │ │ │ │ │ │ │ │
│ │ • Subdomain │ │ • Nmap │ │ • SQLi │ │ • SQLi Exp │ │ • HTML │
│ │ • Tech Stack│ │ • Nikto │ │ • LFI/XSS │ │ • Auth Test │ │ • Markdown │
│ │ • Nuclei │ │ • FFUF │ │ • OWScan │ │ • PoC Gen │ │ • JSON/CSV │
│ └─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘
│ │
└──────────────────────────────────────────────────────────────────────┘
# Check tool status
python3 lib/tool_manager.py status
# Auto-install all missing tools
python3 lib/tool_manager.py auto
# Install specific tool
python3 lib/tool_manager.py install nikto
# List all 370+ tools
python3 lib/tool_manager.py list
# Run owscan standalone
php tools/owscan/owscan.php -u https://target.com:4280/
# Via wrapper (auto-parses to pentx format)
python3 lib/owscan_wrapper.py https://target.com:4280/ output/owscan
output/
├── phase1-recon/ # Recon assets, live hosts, nuclei, findings
├── phase2-scan/ # Nmap XML, ffuf, nikto, findings
├── phase3-vuln/ # SQLi, LFI/XSS/SSRF PoCs + findings
├── phase4-exploit/ # PoC artifacts, banner verification
├── report.html # HTML report (exec + PoC cards)
├── report.md # Full technical Markdown report
├── exec-summary.md # Leadership summary
├── findings-merged.json # Machine-readable findings
├── findings.csv # CSV for spreadsheets
├── findings.sarif # SARIF for CI/CD
└── poc-full/ # Per-finding PoC .txt artifacts
═══════════════════════════════════════════════════════════════
SQL Injection on 'id' — https://target.com:4280/page
═══════════════════════════════════════════════════════════════
Request:
GET /page?id=1'+AND+1=1-- HTTP/1.1
Host: target.com:4280
Response:
HTTP/1.1 200 OK
[Page content with true condition]
Severity: Critical (CVSS 9.8)
Remediation: Use parameterized queries / prepared statements.
═══════════════════════════════════════════════════════════════
| 规则 | 描述 |
|---|---|
| ⚠️ 授权 | 仅对已授权的目标运行 |
| 📖 只读 | 默认模式,使用 --no-exploit |
| 🚫 无破坏性 | 无 DoS,无数据破坏 |
| ⏱️ 超时 | 所有探测均使用短超时 |
| 🔐 安全 SQLi | --batch 模式,限制 level/risk |
python3 pentx.py <target> [output] [options]
Options:
--phase N Run single phase (1-5)
--no-exploit Skip Phase 4 (exploitation)
--fast Skip nmap + nuclei, fast scan
--skip-nmap Skip nmap scan
--skip-nuclei Skip nuclei scan
--target-port N Override target port
--timeout N Per-phase timeout (default: 300s)
--check Check tool availability
--report <dir> Regenerate report from output dir
--tools <cmd> Tool manager: status|install|list|auto
--owscan <url> Run owscan standalone
| 赞助方 | 类型 |
|---|---|
| 社区 | |
| 工具提供方 | |
| 扫描器开发者 |
支持 Pentx — GitHub Sponsors | PayPal
| 项目 | 描述 | 链接 |
|---|---|---|
| onex | Kali 黑客工具安装器 | jackind424/onex |
| owscan | Web 漏洞扫描器 | gameye98/owscan |
| nuclei | 基于模板的扫描器 | projectdiscovery/nuclei |
| sqlmap | SQLi 自动化 | sqlmapproject/sqlmap |
| ffuf | Web 模糊测试器 | ffuf/ffuf |
MIT 许可证 — 详情请参阅 LICENSE。
由 yashas-13 用 ❤️ 制作