zhaoxuya520/reverse-skill / skills/pentest-tools
pentest-tools
Flagged主动渗透测试工具链。覆盖信息收集、端口扫描、漏洞扫描、Web 渗透、SQL 注入、目录爆破、密码破解等场景。 通过 MCP server(pentestMCP / mcp-security-hub)将 20+ 安全工具暴露给 AI agent。 触发关键词:渗透测试、端口扫描、Nmap、漏洞扫描、Nuclei、SQL 注入、SQLMap、目录爆破、FFUF、密码破解、Hashcat、信息收集、子域名、Web 渗透、ZAP、Burp。
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 12.7 KB |
| payloads/README.md | markdown | 1.1 KB |
| references/ai-pentest-agents.md | markdown | 6.0 KB |
| references/ai-pentesting-landscape-2026.md | markdown | 3.4 KB |
| references/automation-loop-pattern.md | markdown | 5.2 KB |
| references/awesome-pentest-digest.md | markdown | 5.9 KB |
| references/burpsuite-mcp-guide.md | markdown | 23.0 KB |
| references/client-side-lab-playbook.md | markdown | 4.8 KB |
| references/kali-mcp-ecosystem.md | markdown | 4.4 KB |
| references/msf-protocol.md | markdown | 5.9 KB |
| references/network-attack-defense.md | markdown | 9.9 KB |
| references/nuclei-guide-2026.md | markdown | 4.0 KB |
| references/pentest-ai-agents-matrix.md | markdown | 5.0 KB |
| references/pentest-loop.md | markdown | 6.6 KB |
| references/recon-pipeline.md | markdown | 5.7 KB |
| references/web-attack-cheatsheet.md | markdown | 7.5 KB |
| templates/findings.md | markdown | 328 B |
| templates/progress.md | markdown | 242 B |
| templates/rules.md | markdown | 722 B |
| templates/scope.md | markdown | 422 B |
| templates/task_plan.md | markdown | 543 B |
references/nuclei-guide-2026.md
View on GitHub# Nuclei 实战指南(2026 版)
> 来源:[ProjectDiscovery 官方文档](https://docs.projectdiscovery.io/) + [nuclei-templates](https://github.com/projectdiscovery/nuclei-templates)(2026)
> 适用场景:漏洞扫描、自定义检测模板编写、Bug Bounty 自动化
## 概述
Nuclei 是基于模板的快速漏洞扫描器。截至 2026 年:
- 9000+ 社区模板
- 100,000+ 安全工程师贡献
- 支持 HTTP/DNS/TCP/SSL/文件/代码等多种协议
- 已集成到 Kali 官方仓库(`apt install nuclei`)
## 快速使用
```bash
# 安装(Kali)
apt install nuclei
# 或最新版
go install github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest
# 更新模板
nuclei -update-templates
# 基础扫描
nuclei -u https://target.com
# 指定严重级别
nuclei -u https://target.com -severity critical,high
# 指定模板类别
nuclei -u https://target.com -tags cve,sqli,xss,ssrf
# 批量目标
nuclei -l urls.txt -severity critical,high -o results.txt
# 配合 httpx 使用(推荐)
cat subdomains.txt | httpx -silent | nuclei -severity critical,high
```
## 自定义模板编写
### 基础结构
```yaml
id: custom-check-id
info:
name: Custom Vulnerability Check
author: your-name
severity: high
description: Description of what this checks
tags: custom,webapp
http:
- method: GET
path:
- "{{BaseURL}}/vulnerable-endpoint"
matchers:
- type: word
words:
- "sensitive_data"
condition: and
- type: status
status:
- 200
```
### 最佳实践
1. **ID 命名**:使用 `vendor-product-vulnerability` 格式
2. **严重级别**:严格按 CVSS 评分对应(critical/high/medium/low/info)
3. **Matcher 精确**:避免误报,组合多个 matcher
4. **提取器**:用 extractor 提取关键证据
5. **条件组合**:用 `condition: and` 减少误报
### 高级模板示例(SSTI 检测)
```yaml
id: ssti-detection
info:
name: Server-Side Template Injection
author: security-team
severity: high
tags: ssti,injection
http:
- method: GET
path:
- "{{BaseURL}}/?q={{url_encode('{{7*7}}')}}"
- "{{BaseURL}}/?search={{url_encode('${7*7}')}}"
matchers:
- type: word
words:
- "49"
part: body
extractors:
- type: regex
regex:
- "49"
part: body
```
## 与 AI 结合使用
### AI 生成 Nuclei 模板
当发现新漏洞模式时,可以让 AI 自动生成 Nuclei 模板:
```
用户:我发现 /api/v1/users 端点存在 IDOR,通过修改 user_id 参数可以访问其他用户数据
AI:[生成对应的 Nuclei 模板]
```
### Pentest Swarm AI 集成
Pentest Swarm AI 原生集成 Nuclei,在 swarm 模式下:
1. Recon agent 发现子域名和端点
2. Classifier agent 用 Nuclei 模板扫描
3. 高 pheromone 的发现触发 Exploit agent
### 推荐模板仓库
| 仓库 | 内容 | 链接 |
|------|------|------|
| projectdiscovery/nuclei-templates | 官方 9000+ 模板 | [GitHub](https://github.com/projectdiscovery/nuclei-templates) |
| 0xKayala/Custom-Nuclei-Templates | 社区精选 | [GitHub](https://github.com/0xKayala/Custom-Nuclei-Templates) |
| emadshanab/Nuclei-Templates-Collection | 大型集合 | [GitHub](https://github.com/emadshanab/Nuclei-Templates-Collection) |
## 常用命令速查
```bash
# 扫描单个目标
nuclei -u https://target.com -severity critical,high
# 使用自定义模板
nuclei -u https://target.com -t ~/custom-templates/
# 输出 JSON(便于后续处理)
nuclei -u https://target.com -json -o results.json
# 限速(避免被 WAF 拦截)
nuclei -u https://target.com -rate-limit 10 -bulk-size 5
# 使用代理
nuclei -u https://target.com -proxy http://127.0.0.1:8080
# 排除特定模板
nuclei -u https://target.com -exclude-tags dos,fuzz
# 新模板检测(只跑最近添加的)
nuclei -u https://target.com -new-templates
# 配合 subfinder + httpx 全流程
subfinder -d target.com -silent | httpx -silent | nuclei -severity critical,high -o report.txt
```
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 |