autoSSRF 是你在大规模识别 SSRF 漏洞时的最佳盟友。与其他 SSRF 自动化工具不同,本工具具备以下两项独创功能:
针对相关 SSRF GET 参数的智能模糊测试
进行模糊测试时,autoSSRF 只关注与 SSRF 相关的常见参数(?url=、?uri= 等),不会干扰其他参数。这确保原始 URL 仍能被目标 Web 应用正确解析,而盲目喷洒查询参数的工具可能无法做到这一点。
基于上下文的动态载荷生成
对于 URL:https://host.com/?fileURL=https://authorizedhost.com,autoSSRF 会将 authorizedhost.com 识别为 Web 应用可能的白名单主机,并基于此动态生成载荷,尝试绕过白名单验证。
从而产生诸如 http://authorizedhost.attacker.com、http://authorizedhost%[email protected] 等有趣的载荷。
此外,该工具几乎保证无误报。检测基于 ProjectDiscovery 优秀的 interactsh,使 autoSSRF 能够自信地识别带外 DNS/HTTP 交互。
python3 autossrf.py -h
显示工具的帮助信息。
usage: autossrf.py [-h] [--file FILE] [--url URL] [--output] [--verbose]
options:
-h, --help show this help message and exit
--file FILE, -f FILE file of all URLs to be tested against SSRF
--url URL, -u URL url to be tested against SSRF
--output, -o output file path
--verbose, -v activate verbose mode
单个 URL 目标:
python3 autossrf.py -u https://www.host.com/?param1=X¶m2=Y¶m2=Z
多个 URL 目标(带详细信息输出):
python3 autossrf.py -f urls.txt -v
1 - 克隆
git clone https://github.com/Th0h0/autossrf.git
2 - 安装依赖
Python 库:
cd autossrf
pip install -r requirements.txt
Interactsh-Client:
go install -v github.com/projectdiscovery/interactsh/cmd/interactsh-client@latest
autoSSRF 采用 MIT 许可证 分发。