704 B
704 B
org2ranges
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 forzmap
or 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.
Shoutouts
- Greetz to acidvegas for
asn2ranges
andasn2search
bash functions.
Troubleshooting
You may have to edit the User-Agent if you have trouble getting the lists from bgp.tools.