Simple Script to Get Current IP Ranges From ASN via name search

As the title states this is just a simple script that grabs two file if they are currently not there, allows checking for IP ranges by providing a simple name such as 'godaddy' or 'digitalocean', it then returns the results and provides a file name rangelist with the found ranges.

usage

./check digitalocean

Code

On Gist view here

Script would not be possible without the great data provided by apnic.net

Lee Johnstone

Information Security Data Analyst, Web Developer, Data Scraping/Crawling Specialist.

NSW, Australia http://www.ctrlbox.com

Subscribe to Ctrlbox Information Security

Get the latest posts delivered right to your inbox.

or subscribe via RSS with Feedly!