IP Search using bing

This is a tools that is useful if you have a large list of ip-addresses and you want to find out if there are any virtual hosts which shares the same ips, or just generally what applications are hosted on the ips.

Bing, nowadays Azure could API, allows users to do searches on IP-adresses. This little tool does just that, sifting through the searchresults giving you the urls. Basic usage:

$ echo "64.79.209.180" | python ipsearch.py -b bkey.txt 
64.79.209.180 : http://martin.swende.se
64.79.209.180 : http://www.swende.se

More common usage:

$ cat big_addr_list.txt | python ipsearch.py -b bkey.txt 

The snag is that you need to get an API-key in order to use it; however, those are easy to get a hold of, as you can get up to 5000 searches per month for free: Azure Datamarket

2013-02-22

Source code repos:

 
comments powered by Disqus