What is hostmap

hostmap is a free, automatic, hostnames and virtual hosts discovery tool written in Ruby by Alessandro `jekil` Tanasi and licensed under GNU General Public License version 3 (GPLv3). It's goal is to enumerate all hostnames and configured virtual hosts on an IP address. The primary users of hostmap are professionals performing vulnerability assessments and penetration tests.

It is said that if you know your enemies and know yourself, you will not be imperiled in a hundred battles; if you do not know your enemies but do know yourself, you will win one and lose one; if you do not know your enemies nor yourself, you will be imperiled in every single battle.

- Sun Tzu, The Art of War

As Sun Tzu said, you have to know your enemy. During an hacking engagement, like a penetration test, you need to retrieve as much information as possible from your target in order to be successful.

hostmap helps you using several techniques to enumerate all the hostnames associated with an IP address.

The major features are:

  • DNS names and virtual hosts enumeration
  • Multiple discovery techniques, to read more see documentation.
  • Results correlation, aggregation and normalization
  • Multithreaded and event based engine
  • Platform independent


Refer to the user's guide and to the changelog for further information.


hostmap can be downloaded via Github project:

The latest development release is available for users that want to run an always update release. To download you need to install git, if you don't already have it, and checkot the sources with:
git clone https://github.com/jekil/hostmap.git


hostmap is copyrighted by Alessandro `jekil` Tanasi and is licensed under GNU General Public License version 3 (GPLv3). hostmap is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.


Any kind of feedback is very appreciated! You can send your code (pull request) or open support tickets on Github page. If you have feature requests, ideas, bug reports or simply you want to give your feedback about hostmap write to alessandro@tanasi.it. I am happy to read your opinion.


This software is free and open source. Anyone can use it free of charge. Anyway the development, maintenance and funding for server and hosting need money. If you want to help hostmap to grow a donation is appreciated.

Click here to lend your support to: hostmap and make a donation at www.pledgie.com !