bing-ip-parameter is a search engine owned by Microsoft formerly known as MSN Search and Live Search. It has a unique feature to search for websites hosted on a specific IP address. Bing-ip2hosts uses this feature to enumerate all hostnames which Bing has indexed for a specific IP address. This technique is considered best practice during the reconnaissance phase of a penetration test in order to discover a larger potential attack surface. Bing-ip2hosts is written in the Bash scripting language for Linux. This uses the mobile interface and no API key is required.

Author: Andrew Horton
License: GPLv3

root@kali:~# bing-ip2hosts
bing-ip2hosts (o.4) by Andrew Horton aka urbanadventurer

Useful for web intelligence and attack surface mapping of vhosts during
penetration tests. Find hostnames that share an IP address with your target
which can be a hostname or an IP address. This makes use of Microsoft ability to seach by IP address, e.g. “IP:”.

Usage: /usr/bin/bing-ip2hosts [OPTIONS] <IP|hostname>

-n Turn off the progress indicator animation

Use this directory instead of /tmp. The directory must exist.
-i Optional CSV output. Outputs the IP and hostname on each line, separated by a comma.
-p Optional http:// prefix output. Useful for right-clicking in the shell.

bing-ip2hosts Usage Examples

root@kali:~# bing-ip2hosts -p
[ | Scraping 1 | Found 0 | / ]
root@kali:~# bing-ip2hosts -p
[ | Scraping 60-69 of 73 | Found 41 | | ]| / ]

2 thoughts on “bing-ip2hosts”

  1. Pingback: Bing-ip2hosts v.0.2 | Nodo54

  2. Pingback: Ed Smiley's Blog » Bookmarks for April 2nd through April 18th

Comments are closed.