in OSINT infosec Scripts ~ read.
Simple Script to Get Current IP Ranges From ASN via name search

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