SmartWhois Script
Posted by admin
I’ve used SmartWhois at all-nettools.com for years. It is usually very fast and returns pertinent data, yet leaving out the normal ARPA registration junk that I don’t often care about.
Here is a Ruby script that will post an IP address to the online tool and parse the results for the command line, showing information about the party that owns the particular IP being searched. It will also accept hostnames.
You’ll need Hpricot and hpricot_helper.rb along with some other standards.
You can script it using a list of ip addresses like this:
cat iplist | while read ip; do
./smartwhois.rb $ip
doneEnjoy
