FrontHunter 是一款用于测试大量域名的工具,以识别可用于域名前置的候选域名。
我知道,我知道……域名前置已经相当陈旧了。但事实是,作为 C2 基础设施中的一个附加功能,它仍然很有用。在域名方面,仍然有很多不错的候选者哦。;)
# 克隆仓库
git clone https://github.com/st3rven/fronthunter.git
cd fronthunter
# 安装依赖
pip3 install -r requirements.txt
测试单个域名:
python fronthunter.py -c example.com --front-domain target.com
从文件测试多个域名:
python fronthunter.py -f domains.txt --front-domain target.com
使用代理进行测试:
python fronthunter.py -c example.com --front-domain target.com --http-proxy http://proxy.example.com:8080
将结果保存到文件:
python fronthunter.py -c example.com --front-domain target.com -o results.json --output-format json
-c, --check DOMAIN:检查单个域名-f, --file FILE:从文件检查域名-t, --threads THREADS:使用的线程数(默认:10)--timeout TIMEOUT:HTTP 请求超时秒数(默认:10)--delay DELAY:请求之间的延迟毫秒数(默认:0)--user-agent USER_AGENT:使用的 User-Agent 标头--front-domain FRONT_DOMAIN:在 Host 标头中使用的域名--http-proxy HTTP_PROXY:使用的 HTTP 代理--https-proxy HTTPS_PROXY:使用的 HTTPS 代理--verify-ssl:验证 SSL 证书(默认:False)--port PORT:连接端口(默认:443)--expected-content EXPECTED_CONTENT:预期响应中包含的内容--expected-status EXPECTED_STATUS:预期的 HTTP 状态码-o, --output OUTPUT:保存结果的输出文件--output-format {txt,csv,json}:输出格式(默认:txt)--log-file LOG_FILE:保存详细输出的日志文件--quiet:禁止控制台输出,仅显示错误欢迎贡献!
这个工具是我不久前开发的,直到最近才决定公开发布。所以,如果你想要添加其他功能,请随时提交 issue。
本项目采用 Apache License 2.0 许可——详见 LICENSE 文件。