LinuxCommandLibrary

asnmap

Map autonomous system numbers and IP ranges

TLDR

Lookup ASN for IP

$ asnmap -ip [8.8.8.8]
copy
Lookup domain
$ asnmap -d [google.com]
copy
Lookup by ASN number
$ asnmap -a [AS15169]
copy
Lookup by organization
$ asnmap -org "[Google LLC]"
copy
Output CIDR ranges
$ asnmap -a [AS15169] -json
copy

SYNOPSIS

asnmap [-ip ip] [-d domain] [-a asn] [-org name] [options]

DESCRIPTION

asnmap quickly maps ASN (Autonomous System Number) information. It can lookup ASN from IP addresses, domains, or organization names, and return associated IP ranges.
This is useful for reconnaissance, network mapping, and understanding organizational IP allocations.

PARAMETERS

-ip address

Lookup ASN for IP address
-d domain
Lookup ASN for domain
-a asn
Get IP ranges for ASN
-org name
Search by organization name
-json
JSON output
-silent
Silent mode
-o file
Output file

CAVEATS

Data comes from public sources and may not be current. Some organizations have multiple ASNs. Results should be verified for security work.

HISTORY

asnmap was developed by ProjectDiscovery as part of their security reconnaissance toolkit.

SEE ALSO

whois(1), dig(1), nmap(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community