
Spray Dir Brute
- 23 installs
- 1.6k repo stars
- Updated July 19, 2026
- wgpsec/aboutsecurity
Helps with ai & agent building tasks during AI-assisted development.
About
spray-dir-brute is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.
- spray-dir-brute
- AI & Agent Building
- AI-coding skill
Spray Dir Brute by the numbers
- 23 all-time installs (skills.sh)
- +2 installs in the week ending Jul 27, 2026 (Skillselion tracking)
- Ranked #10,032 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/wgpsec/aboutsecurity --skill spray-dir-bruteAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 23 |
|---|---|
| repo stars | ★ 1.6k |
| Last updated | July 19, 2026 |
| Repository | wgpsec/aboutsecurity ↗ |
What it does
Helps with ai & agent building tasks during AI-assisted development.
Files
spray 目录爆破方法论
spray 是 chainreactors 开发的高性能目录爆破工具,核心优势:智能过滤(自动识别无效响应)+ 极致性能(多目标场景下远超 ffuf)+ 指纹识别(集成 gogo/fingerprinthub/wappalyzer 指纹库)。
项目地址:https://github.com/chainreactors/spray
Phase 1: 基本目录爆破
# 从字典爆破(最常用)
spray -u http://target -d wordlist.txt
# 多字典组合
spray -u http://target -d wordlist1.txt -d wordlist2.txt
# 指定后缀
spray -u http://target -d wordlist.txt --suffix .php,.jsp,.asp
# 批量目标
spray -l urls.txt -d wordlist.txt常用字典路径(/pentest 目录)
# aboutsecurity 字典库
/pentest/AboutSecurity/Dic/Web/Directory/Fuzz_common.txt
/pentest/AboutSecurity/Dic/Web/Directory/Fuzz_php.txt
/pentest/AboutSecurity/Dic/Web/CTF/Fuzz_param.txt
# spray 自带字典会自动加载Phase 2: 掩码字典生成
spray 支持类似 hashcat 的掩码语法,无需预生成字典:
# 掩码: ?l=小写 ?u=大写 ?d=数字 ?s=特殊字符
# 爆破 /backup_XXXX.zip(4 位数字)
spray -u http://target -w "/backup_{?d#4}.zip"
# 爆破 /api/v1 到 /api/v9
spray -u http://target -w "/api/v{?d#1}"
# 组合路径
spray -u http://target -w "/{?l#3}/{?l#4}.php"Phase 3: 智能过滤
spray 的核心优势——自动过滤无效响应,减少人工筛选:
# 智能过滤(自动检测 404 页面特征并过滤)
spray -u http://target -d wordlist.txt --smart
# 按状态码过滤
spray -u http://target -d wordlist.txt --match-status 200,301,302,403
# 按响应长度过滤(排除统一错误页面)
spray -u http://target -d wordlist.txt --filter-length 1234
# 按关键词过滤
spray -u http://target -d wordlist.txt --match-string "admin"Phase 4: 指纹识别模式
spray 集成了 gogo、fingerprinthub、wappalyzer 三大指纹库:
# check-only 模式:只做指纹识别(类似 httpx)
spray -l urls.txt --check-only
# 启用拓展指纹(主动探测 + 第三方指纹库)
spray -u http://target --finger
# 爆破 + 指纹识别
spray -u http://target -d wordlist.txt --fingerPhase 5: 备份文件和常见文件
# 扫描备份文件(.bak, .zip, .tar.gz, .sql 等)
spray -u http://target --bak
# 扫描常见通用文件(robots.txt, .git, .env 等)
spray -u http://target --common
# 全功能扫描(爆破 + 备份 + 常见文件 + 爬虫 + 指纹)
spray -u http://target -aPhase 6: 高级用法
# 启用爬虫(从页面中提取更多路径)
spray -u http://target --crawl
# 断点续传(中断后继续)
spray --resume stat.json
# 自定义 Header
spray -u http://target -d wordlist.txt -H "Cookie: session=xxx"
# 使用代理
spray -u http://target -d wordlist.txt --proxy http://127.0.0.1:8080
# 控制并发
spray -u http://target -d wordlist.txt -t 50与 ffuf 对比决策
| 场景 | 推荐工具 | 原因 |
|---|---|---|
| 单目标目录爆破 | spray 或 ffuf 均可 | 性能差异不大 |
| 批量多目标 | spray | 批量性能远超 ffuf |
| 参数 Fuzz | ffuf | FUZZ 占位符更灵活 |
| 备份文件扫描 | spray | --bak 一键扫描 |
| 指纹识别 | spray | 内置三大指纹库 |
| 需要掩码字典 | spray | 内置掩码生成 |
{
"skill_name": "spray-dir-brute",
"evals": [
{
"id": 1,
"name": "basic-dir-brute",
"prompt": "httpx 探活发现 http://10.0.0.5:8080 是 Tomcat 8.5,我想用 spray 对它做 PHP/JSP 后缀的目录爆破,字典用 /pentest/AboutSecurity/Dic/Web/Directory/Fuzz_common.txt,并发 50 线程",
"expected_output": "spray -u http://10.0.0.5:8080 -d /pentest/AboutSecurity/Dic/Web/Directory/Fuzz_common.txt --suffix .jsp,.php -t 50",
"expectations": ["spray -u", "-d.*/pentest/", "--suffix.*\\.jsp"]
},
{
"id": 2,
"name": "backup-file-scan",
"prompt": "渗透目标 http://oa.corp.local:9090,这是用友 NC 的 OA 系统。我想扫一下有没有遗留的备份文件(.bak/.zip/.sql 这些),同时也看看有没有常见的敏感路径比如 .git、.env 之类的",
"expected_output": "spray -u http://oa.corp.local:9090 --bak --common",
"expectations": ["spray", "--bak", "--common"]
},
{
"id": 3,
"name": "fingerprint-mode",
"prompt": "naabu 扫完内网 10.0.0.0/24 后 httpx 输出了 80 多个存活 URL 到 alive.txt。我想快速看一下每个站点是什么系统(CMS/框架/中间件),不需要做目录爆破,spray 能做指纹识别吗?",
"expected_output": "spray -l alive.txt --check-only --finger",
"expectations": ["spray", "-l", "--check-only|--finger"]
}
]
}
Related skills
AI & Agent Buildingagents