skills/tool/dirsearch-fuzz/SKILL.md
使用 dirsearch 进行 Web 目录和文件暴力枚举。当需要发现隐藏的目录、文件、后台路径、备份文件时使用。dirsearch 内置高质量字典,支持多扩展名、递归扫描、状态码过滤。任何涉及目录枚举、路径发现、后台查找、敏感文件发现的场景都应使用此技能
npx skillsauth add wgpsec/AboutSecurity dirsearch-fuzzInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
dirsearch 是功能丰富的 Web 目录暴力枚举工具。核心优势:内置高质量字典 + 多扩展名支持 + 递归扫描 + 智能过滤。
项目地址:https://github.com/maurosoria/dirsearch
# 使用内置字典扫描
dirsearch -u http://target.com
# 指定扩展名
dirsearch -u http://target.com -e php,asp,aspx,jsp
# 指定字典
dirsearch -u http://target.com -w /path/to/wordlist.txt
# 静默输出
dirsearch -u http://target.com --quiet
# 排除状态码
dirsearch -u http://target.com -x 404,403,500
# 只显示特定状态码
dirsearch -u http://target.com -i 200,301,302
# 按响应大小过滤
dirsearch -u http://target.com --exclude-sizes 0B,4KB
# 按响应内容过滤
dirsearch -u http://target.com --exclude-texts "Not Found"
# 递归扫描(发现目录后继续扫描子目录)
dirsearch -u http://target.com -r --recursion-depth 3
# 自定义请求头
dirsearch -u http://target.com -H "Cookie: session=abc"
# 带认证
dirsearch -u http://target.com --auth admin:password --auth-type basic
# 使用代理
dirsearch -u http://target.com --proxy http://127.0.0.1:8080
# 控制线程
dirsearch -u http://target.com -t 50
# 批量目标
dirsearch -l urls.txt -e php,asp
# 随机 User-Agent
dirsearch -u http://target.com --random-agent
# 强制扩展名(不使用 %EXT% 占位符)
dirsearch -u http://target.com -f -e php,asp
# 简单文本
dirsearch -u http://target.com -o results.txt --format plain
# JSON 输出
dirsearch -u http://target.com -o results.json --format json
# CSV 输出
dirsearch -u http://target.com -o results.csv --format csv
| 场景 | 命令 |
|------|------|
| PHP 站点 | dirsearch -u http://target -e php -x 404 |
| Java 站点 | dirsearch -u http://target -e jsp,do,action -x 404 |
| 后台查找 | dirsearch -u http://target -w admin-wordlist.txt |
| 备份文件 | dirsearch -u http://target -e bak,old,zip,tar.gz,sql |
| 递归深扫 | dirsearch -u http://target -r --recursion-depth 3 -e php |
testing
Azure 云环境渗透测试总体方法论。当目标使用 Azure/Microsoft 365/Entra ID、发现 Azure 相关资产(Blob Storage/App Service/Azure VM/Azure Functions)、获取 Azure 凭据(Service Principal/Managed Identity/Access Token)、或需要对 Azure 环境进行安全评估时使用。提供从未授权枚举到 Entra ID 攻击、服务提权、Cloud-to-OnPrem 横向移动的全流程决策树。覆盖 35+ Azure 服务攻击面
tools
Mythic C2 操作方法论。当需要部署 Mythic、选择 Mythic Agent、安装 C2 Profile、配置 HTTP/DNS/WebSocket/SMB/TCP 通信、生成 payload、管理回连任务,或把 Mythic 作为跨平台 C2 框架用于授权红队演练时使用。覆盖 mythic-cli 安装、Agent/Profile 选择、SSL 证书配置、payload 构建和基础 OPSEC 判断
development
Docker 安全测试与容器渗透方法论。当需要评估 Docker 容器、Docker Daemon、Docker Registry、镜像层、构建产物或容器逃逸风险时使用。覆盖容器环境识别、特权容器逃逸、docker.sock/Remote API 利用、procfs/cgroup/capabilities 滥用、Docker 用户组提权、运行时/内核 CVE、Registry 枚举、镜像层 Secret 分析和构建上下文泄露。发现 Docker 容器环境、Registry 暴露、镜像凭据或容器配置错误时应使用此技能
development
使用 PadBuster 进行 Padding Oracle 攻击。当发现 Web 应用使用 CBC 模式加密且存在 Padding Oracle 漏洞时使用。PadBuster 可自动解密密文和伪造任意明文对应的合法密文,适用于加密 Cookie/Token/URL 参数。任何涉及 Padding Oracle 攻击、CBC 密文解密、Cookie 伪造的场景都应使用此技能