Pentest Tools

Published on May 2nd, 2014 📆 | 2725 Views ⚑

0

Host-Extract – Enumerate All IP/Host Patterns In A Web Page


https://www.ispeech.org/text.to.speech
host-extract is a little ruby script that tries to extract all IP/Host patterns in page response of a given URL and JavaScript/CSS files of that URL.

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.

[adsense size='1']

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.

Usage





 

You can grab host-extract via SVN here:

Or read more here.

Tagged with:



Comments are closed.