Skip to content
otinstaller
Install

OSINT tool

Install asnmap on Windows, macOS and Linux

Map an organisation, domain or IP to its ASNs and network ranges.

networkasnreconpassive
ot install asnmap

asnmap answers the question of who owns a block of the internet. Give it an organisation, a domain, an IP address or an AS number and it returns the matching network ranges, ready to hand to a port scanner. It needs a free ProjectDiscovery Cloud API key.

How to install asnmap

ot install asnmap

ot downloads asnmap 1.2.0 as a prebuilt binary from github.com/projectdiscovery/asnmap and verifies its SHA-256 checksum before installing it. Nothing has to be compiled.

New to ot? It is one command to install, shown below.

How to use asnmap

Arguments after the tool's name go straight to asnmap, so its own documentation applies unchanged.

List the network ranges behind a domain.

ot run asnmap -d example.com

List the ranges registered to an organisation.

ot run asnmap -org GOOGLE -silent

Expand one AS number into its ranges.

ot run asnmap -a AS15169

ot run asnmap --help lists every option. The project's own documentation is at github.com/projectdiscovery/asnmap.

An AI agent can run asnmap too: ot mcp serves it over the Model Context Protocol. See OSINT with AI agents.

API keys for asnmap

asnmap reads these environment variables. Store one with ot keys set NAME and ot passes it to asnmap on every run.

VariablePurpose
PDCP_API_KEYProjectDiscovery Cloud Platform key

asnmap licence, platforms and versions

Projecthttps://github.com/projectdiscovery/asnmap
LicenceMIT
Runs onWindows, macOS and Linux
Takesdomain, ip
Sends traffic to the targetNo
Release binaryversion 1.2.0 from github.com/projectdiscovery/asnmap, verified by SHA-256

Questions about asnmap

How do I install asnmap on Windows?

Is asnmap free?

Do I need Go or a compiler to install asnmap?

How do I update or remove asnmap?

Install ot

curl -fsSL https://otinstaller.com/install.sh | sh

Current version: 0.3.0. Both scripts verify the download against its SHA-256 checksum before installing.

More: Network and host OSINT tools