With it, you can quickly identify internal IPs/Hostnames, development IPs/ports, cdn, load balancers, additional attack entries related to your target that are revealed in inline js, css, html comment areas and js/css files.
This is unlike a web crawler which looks for new links only in HTML anchor tags or the like. Using that method you might miss many additional targets if you ever use such web crawler or other GUI-based tools that shows you your main target and its relationship with its linked sub/off-site domains.
In some cases, host-extract may give you false positives when there are some words like – main-site_ver_10.2.1.3.swf. With the -v option, you can ask the tool to output html view-source snippets for each IP/Domain extracted. This will shorten your manual analysis time.
ruby host-extract.rb URL [option]
Usage: host-extract [options]
-a find all ip/host patterns
-j scan all js files
-c scan all css files
-v append view-source html snippet for manual verification
There are other tools that do similar things, some overlap, but nothing exactly like this. host-extract would be well combined with the following:
– wsScanner – Web Services Footprinting, Discovery, Enumeration, Scanning and Fuzzing tool
– theHarvester – Gather E-mail Accounts, Subdomains, Hosts, Employee Names – Information Gathering Tool
– Web-Sorrow v1.48 – Version Detection, CMS Identification, Enumeration & Server Scanning Tool
You can grab host-extract via SVN here:
svn checkout http://host-extract.googlecode.com/svn/trunk/ host-extract-read-only
Or read more here.
- BTCrawler – Bluetooth Diagnostic & Discovery Tool
- Parrot Security OS – Debian Based Security Oriented Operating System
- Patator – Multi-threaded Service & URL Brute Forcing Tool
- NetworkMiner – Passive Sniffer & Packet Analysis Tool for Windows
- DNS Brute Force eXtract – WS-DNS-BFX
- FindBugs – Find Bugs in Java Programs
Most Read in Hacking Tools:
- Top 15 Security/Hacking Tools & Utilities - 1,914,090 views
- Brutus Password Cracker – Download brutus-aet2.zip AET2 - 1,169,651 views
- wwwhack 1.9 – Download wwwhack19.zip Web Hacking Tool - 645,673 views