一款高效发现和提取主机名的工具,可处理大量目标 IPv4 或 IPv6 地址。HostHunter 利用简单的 OSINT 和主动侦察技术,将 IP 目标与虚拟主机名进行映射。这对于发现组织真实的攻击面尤为有用。输出支持多种格式,包括 CSV、TXT 或 Nessus 文件格式。
<a align="center" href=https://asciinema.org/a/jp9B0IB6BzRAgbH3iNp7cCTpt>
点击上方缩略图观看演示。
$ python3.10 -m pip install -r requirements.txt
$ python3.10 hosthunter.py <targets.txt>
$ cat vhosts.csv
HostHunter 帮助页面
$ python3.10 ./hosthunter.py -h
usage: hosthunter.py [-h] [-f FORMAT] [-o OUTPUT] [-t TARGET] [-g GRAB] [-v] [-V] [-d] [targets]
[?] HostHunter v2.0 - Help Page
positional arguments:
targets Sets the path of the target IPs file.
options:
-h, --help show this help message and exit
-f FORMAT, --format FORMAT
Choose between .CSV and .TXT output file formats.
-o OUTPUT, --output OUTPUT
Sets the path of the output file.
-t TARGET, --target TARGET
Hunt a Single IP.
-g GRAB, --grab GRAB Choose which SSL ports to actively scan. Default ports: 21/tcp, 25/tcp, 443/tcp, 993/tcp, 8443/tcp
-v, --verify Attempts to resolve IP Address
-V, --version Displays the current version.
-d, --debug Displays additional output and debugging information.
作者:Andreas Georgiou (@superhedgy)
运行 HostHunter 屏幕截图模块并输出 Nessus 文件:
$ python3.10 hosthunter.py <targets.txt> --nessus -o hosts.csv
显示结果
$ cat hosts.csv
查看截图
$ open ./screen_captures/
本项目采用 MIT 许可证。
如果您有任何想法或想要添加的功能,欢迎创建 Pull Request。或者通过 Twitter 联系我:@superhedgy。