Produces a list of IP prefixes for a given routing AS number (ASN).
nmap --script targets-asn --script-args targets-asn.asn=ASN-NUMBER
Example:
$> nmap --script targets-asn --script-args targets-asn.asn=27693
Starting Nmap 7.91 ( https://nmap.org ) at 2023-03-17 20:08 UTC
Pre-scan script results:
| targets-asn:
| 27693
| 131.255.24.0/22
| 179.109.16.0/20
| 179.109.16.0/21
| 179.109.24.0/21
| 186.236.64.0/21
| 186.236.64.0/20
| 186.236.80.0/20
| 189.127.0.0/20
| 189.127.0.0/21
| 189.127.0.0/22
| 189.127.8.0/21
| 200.220.128.0/20
| 200.220.128.0/21
|_ 200.220.136.0/21
WARNING: No targets were specified, so 0 hosts scanned.
Nmap done: 0 IP addresses (0 hosts up) scanned in 1.14 seconds
/comments ~umgeher/changelog@lists.sr.ht?Subject=Re: table: public DNS servers
/permalink https://umgeher.org/posts/2023/04/table-public-dns-servers.html