Collect IP ranges with a bgp.tools search query.
Searches bgp.tools for organizations IP ranges and creates three files:
ranges.txt: Contains all IP ranges belonging to the ASNs.ipv4.txt: All IPv4 ranges forzmapor other IPv4-only tools.ipv6.txt: All IPv6 ranges that can be scanned separately if needed.
As the organization search is loose, you will be asked to edit the input list before asn2ranges is called.
- Greetz to acidvegas for
asn2rangesandasn2searchbash functions.
You may have to edit the User-Agent if you have trouble getting the lists from bgp.tools.