HostHunter v1.5 – Discover & Extract Hostnames Providing a Large Set of Target IP Addresses


A tool to efficiently discover and extract hostnames providing a large set of target IP addresses. HostHunter utilises simple OSINT techniques to map IP addresses with virtual hostnames. It generates a CSV or TXT file containing the results of the reconnaissance.

Latest version of HostHunter also takes screenshots of the targets, it is currently a beta functionality.


  • Tested with Python 3.7.2.

Linux / Mac OS

  • Install python dependencies.
$ pip3 install -r requirements.txt

The next few steps are only required if you would like to use the Screen Capture feature.

  • Download and install the latest version of Google Chrome.

Mac OS:

$ brew cask install google-chrome


$ wget

$ dpkg -i ./google-chrome-stable_current_amd64.deb

$ sudo apt-get install -f
  • Download and install the latest ChromeDriver.

Mac OS:

wget -O /tmp/ && sudo unzip /tmp/ chromedriver -d /usr/local/bin/;


wget -O /tmp/ && sudo unzip /tmp/ chromedriver -d /usr/local/bin/;

Simple Usage Example

$ python3 <targets.txt>
$ cat vhosts.csv

More Examples

HostHunter Help Page

$ python3 -h
usage: [-h] [-b] [-f FORMAT] [-o OUTPUT] [-sc] [-t TARGET] [-V]

Run HostHunter with Bing and Screen Capture modules enabled

$ python3 <targets.txt> --bing -sc -f csv -o hosts.csv

Display Results

$ cat hosts.csv

View Screenshots

$ open ./screen_captures/


[X] Works with Python3
[X] Extracts information from SSL/TLS certificates.
[X] Supports Free HackerTarget API requests.
[X] Takes Screenshots of the target applications.
[X] Validates the targets IPv4 address.
[X] Supports .txt and .csv output file formats
[X] Gathers information from HTTP headers. [X] Verifies Internet access. [X] Finds hostnames in 80/TCP, 443/TCP and 21/TCP ports.

Coming Next

[_] Support for Nessus target format.
[_] Improve output (IPs, HostNames, FQDNs)
[_] Pause and Resume Execution
[_] Support for a Premium HackerTarget API key
[_] Support for IPv6
[_] Gather information from additional APIs
[_] Actively pull SSL certificates from other TCP ports


Please follow and like us:

Leave a Reply

Your email address will not be published. Required fields are marked *