skills/tool/dalfox-xss/SKILL.md
使用 DalFox 进行 XSS 漏洞扫描。当需要检测反射型/存储型/DOM XSS、分析参数注入点、绕过 WAF 时使用。DalFox 支持自动参数分析、DOM 挖掘、Blind XSS 回调、WAF 绕过、自动生成 PoC。任何涉及 XSS 漏洞检测、参数测试、WAF 绕过的场景都应使用此技能
npx skillsauth add wgpsec/AboutSecurity dalfox-xssInstall 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.
DalFox 是专业的 XSS 漏洞扫描器。核心优势:智能参数分析(自动识别可注入参数)+ DOM 挖掘 + WAF 绕过 + Blind XSS 支持。
项目地址:https://github.com/hahwul/dalfox
# 扫描单个 URL(含参数)
dalfox url "http://target.com/search?q=test"
# 从文件批量扫描
dalfox file urls.txt
# 从 stdin 管道
cat urls.txt | dalfox pipe
# 静默输出(只显示发现)
dalfox url "http://target.com/search?q=test" --silence
# Blind XSS(指定回调地址)
dalfox url "http://target.com/form?input=test" \
--blind "https://your-callback.xss.ht"
# 启用 WAF 绕过
dalfox url "http://target.com/search?q=test" --waf-evasion
# 启用 DOM 分析
dalfox url "http://target.com/page" --mining-dom
# 自定义 Payload 文件
dalfox url "http://target.com/search?q=test" \
--custom-payload payloads.txt
# POST 请求
dalfox url "http://target.com/submit" \
--data "name=test&comment=hello" --method POST
# 带 Cookie
dalfox url "http://target.com/search?q=test" \
--cookie "session=abc123"
# 自定义 Header
dalfox url "http://target.com/search?q=test" \
--header "Authorization: Bearer token"
# 使用代理
dalfox url "http://target.com/search?q=test" \
--proxy http://127.0.0.1:8080
# 控制并发和延迟
dalfox url "http://target.com/search?q=test" \
--worker 10 --delay 100
# 爬虫 → XSS 扫描
katana -u http://target.com -jc -silent | dalfox pipe --silence
# 参数发现 → XSS 扫描
cat urls.txt | gau | grep "=" | dalfox pipe --silence
# URL 收集 → 去重 → XSS 扫描
gau target.com | grep "=" | sort -u | dalfox pipe --silence
# JSON 输出
dalfox url "http://target.com/search?q=test" --format json -o results.json
| 场景 | 命令 |
|------|------|
| 单 URL 快扫 | dalfox url "http://target/search?q=test" |
| 批量扫描 | dalfox file urls.txt --silence |
| Blind XSS | dalfox url "URL" --blind "https://callback.xss.ht" |
| WAF 绕过 | dalfox url "URL" --waf-evasion |
| 管道扫描 | cat urls.txt \| dalfox pipe --silence |
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 伪造的场景都应使用此技能