https://github.com/cckuailong/hostscan
不开放到外网的业务,如测试业务
原来DNS解析到外网,但是后来删除了A记录(nginx后的业务没删除,转移到了内网访问)
./hostscan -d 127.0.0.1 -i 1.1.1.1./hostscan -D input/hosts.txt -I input/ips.txt -O out/output.txt -T 5 -t 10
./hostscan --help
/ )( / / ___)(_ _)/ ___) / __) / _ ( (
) __ (( O )___ )( ___ ( (__ / / /
_)(_/ __/ (____/ (__) (____/ ___)_/_/_)__)
Usage of ./main:
-D string
Hosts in file to test
-I string
Nginx Ip in file to test
-O string
Output File (default "result.txt")
-T int
Thread for Http connection. (default 3)
-d string
Host to test
-i string
Nginx IP
-t int
Timeout for Http connection. (default 5)
-v Show hostscan version
https://github.com/fofapro/Hosts_scan
推荐阅读
原文始发于微信公众号(橘猫学安全):hostscan - 自动化Host碰撞工具
免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
- 左青龙
- 微信扫一扫
-
- 右白虎
- 微信扫一扫
-
评论