dalfox file urls.txt --skip-xss-scanning -o reflecting.txt一款轻量级工具,用于检查 URL 中的反射参数。灵感来源于 @tomnomnom 的 kxss。
go install github.com/KathanP19/Gxss@latest
_____ __ __ _____ _____
| __| | | __| __|
| | |- -|__ |__ |
|_____|__|__|_____|_____|
4.0 - @KathanP19
Gxss 用法:
-c int
设置并发数 (默认 50)
-d string
用于 POST 请求的反射测试数据
-h value
设置自定义请求头。
-o string
将结果保存到输出文件
-p string
用于检查反射的载荷 (默认 "Gxss")
-u string
设置自定义 User-Agent。默认为 Mozilla (默认 "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36")
-v 详细模式
-x string
代理 URL。示例: http://127.0.0.1:8080
检查单个 URL
echo "https://target.com/some.php?first=hello&last=world" | Gxss -c 100
检查 URL 列表
cat urls.txt | Gxss -c 100 -p XssReflected
将有反射参数的 URL 保存到文件以供进一步分析
cat urls.txt | Gxss -c 100 -o Result.txt
详细模式 -v
cat urls.txt | Gxss -c 100 -o Result.txt -v
发送自定义请求头 -h
cat urls.txt | Gxss -c 100 -p Xss -h "Cookie: Value"
发送自定义 User-Agent -u
cat urls.txt | Gxss -c 100 -p Xss -h "Cookie: Value" -u "Google Bot"
例如-
URL 为 https://example.com/?p=first&q=second
首先它会检查 p 参数是否反射
https://example.com/?p=Gxss&q=second
然后它会检查 q 参数是否反射
https://example.com/?p=first&q=Gxss
echo "testphp.vulnweb.com" | waybackurls | httpx -silent | Gxss -c 100 -p Xss | sort -u | dalfox pipe