FunWithVhosts
一款旨在高效检查多个IP地址上虚拟主机的工具。
简介
FunWithVhosts 自动识别给定 IP 地址上的虚拟主机。脚本会检查开放端口(尤其是 Web 服务器端口),然后尝试使用指定域名的可能子域名列表来获取内容。它采用线程技术实现高效扫描,并提供详细的结果输出。
特性
先决条件
安装
克隆仓库:
git clone [email protected]:jad2121/FunWithVhosts.git
安装所需的 Python 库:
pip install -r requirements.txt
用法:
usage: vhosts.py [-h] -d DOMAIN -i IPLIST -w WORDLIST -o OUTPUT [-p PORTS] [-l LOGLEVEL]
options:
-h, --help show this help message and exit
-d DOMAIN, --domain DOMAIN
Domain to bruteforce
-i IPLIST, --iplist IPLIST
File containing list of IPs
-w WORDLIST, --wordlist WORDLIST
Wordlist to use
-o OUTPUT, --output OUTPUT
Output file
-p PORTS, --ports PORTS
Ports to scan. if left out, it will scan 80, 8080, 443, 8443, 4443
-l LOGLEVEL, --loglevel LOGLEVEL
Log level, default is info (example: debug, info, warning, error, critical)
示例
python vhosts.py -d adjust.com -i ips.txt -w ~/bug_bounty/wordlists/subdomains/best-dns-wordlist.txt -p 443 -o vhostoutput -l debug
贡献
我并非独自完成。我有两位重要的贡献者:chatGPT 和 github copilot。
欢迎提交 Pull Request。如需进行重大更改,请先开启一个 Issue 以讨论您想要修改的内容。