LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

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
Lookup targets from a file
$ asnmap -f [targets.txt]
copy
Output CIDR ranges as JSON
$ 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
-f, -file file
Read targets to lookup from a file
-j, -json
Display output in JSON format
-c, -csv
Display output in CSV format
-v6
Display IPv6 CIDR ranges in CLI output
-silent
Display silent output (results only)
-o, -output file
Write output to a file
-up, -update
Update asnmap to the latest version

INSTALL

sudo dnf install asnmap
copy
yay -S asnmap
copy
brew install asnmap
copy
nix profile install nixpkgs#asnmap
copy

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), subfinder(1)

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid