SuperAPI AI 工具集

dalfox-xss

安全与审计

查看项目

更新于 10-16 04:45

技能介绍

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

六、适用场景与限制

适用于 Web 安全测试中的 XSS 漏洞检测、参数注入点分析、WAF 绕过测试,以及将爬虫或参数发现工具的输出接入扫描流水线。关于安装方式、收费模式、平台支持范围及具体效果,资料中暂未提供。