Wednesday, May 13, 2009

AS whois (cymru whois service) script

This is a simple POC bash script for retrieving AS info (ASn and prefix) from team-cymru whois service for a given IP address. It's created for work in separated folder and the input file is a simple IP address list file. For each IP, the script creates a separated files (named with IP) and global unique log file where are saved all responses.

So for a faster and better using following this steps:

- create a directory
- create a file that contains your activity ip addresses
- copy the script and ip list within the directory
- run the script

Output example:

No comments:

Post a Comment