# Installer asnmap avec Homebrew, dnf, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de asnmap pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:asnmap
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install asnmap
```

  Preuve: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install asnmap
```

  Preuve: Fedora Rawhide package metadata: asnmap from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#asnmap
```

  Preuve: nixpkgs package indexes: pkgs/by-name/as/asnmap/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Faits du paquet

- **Clé du paquet:** brew:asnmap
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.1.1
- **Résumé source:** Quickly map organization network ranges using ASN information
- **Page d'accueil:** <https://github.com/projectdiscovery/asnmap>
- **Dépôt:** <https://github.com/projectdiscovery/asnmap>
- **Dernière mise à jour:** 2026-07-25T14:18:26-04:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- asnmap (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 1.1.1
## Historique du projet et usages

asnmap is ProjectDiscovery's Go CLI and library for mapping autonomous system, organization, domain, and IP inputs to network ranges. It fits the ProjectDiscovery style of small composable reconnaissance tools with stdin/stdout support and automation-friendly JSON and CSV output.

### Historique du projet

The official README presents asnmap as both a command-line tool and Go library built on top of the ASNMap API. It acknowledges Frank Denis for maintaining the free IPtoASN database, making the project a packaged interface around ASN/CIDR lookup data useful in security and network inventory workflows.

### Historique d'adoption

The Homebrew input records asnmap in Homebrew, dnf, and Nix. Upstream installation also documents `go install github.com/projectdiscovery/asnmap/cmd/asnmap@latest` and precompiled binaries from the GitHub releases page, which is typical for ProjectDiscovery tools distributed both through Go and OS package managers.

### Modes d'utilisation

asnmap accepts ASN, IP, domain, organization, file, and stdin input. Common package-manager usage is simple shell composition: query an organization or AS number, emit CIDR ranges, and pipe them into other recon tools.

The README explicitly shows pipelines into ProjectDiscovery tools such as `tlsx`, `dnsx`, `naabu`, `httpx`, and `nuclei`, and it documents JSON and CSV output for post-processing.

### Pourquoi les passionnés de paquets s'y intéressent

For package nerds, asnmap is notable less as a standalone network database and more as a glue utility: it converts high-level organization or ASN targets into CIDR material that the rest of a CLI security toolchain can consume.

The tool's API-token support also marks a shift seen in modern recon CLIs: a packaged open-source binary can still depend on a hosted platform token for full operation.

### Chronologie

- 2022: README examples show v0.0.1-era output and timestamped JSON examples for ASN/CIDR lookup.
- Current README: Installation requires Go 1.21, supports precompiled releases, and documents ProjectDiscovery Cloud API token configuration.

### Related projects

- The README documents direct workflow use with `tlsx`, `dnsx`, `naabu`, `httpx`, and `nuclei`, all in the ProjectDiscovery CLI ecosystem.
- The README acknowledges the IPtoASN database maintained by Frank Denis as related data infrastructure.

### Sources

- <https://github.com/projectdiscovery/asnmap#readme>
- input.source_facts.package-manager


## Notes de sécurité

broad file, network, media, or database tool signal.

- **Risque Geiger:** blue / moyen
- broad file, network, media, or database tool signal

## Autres enregistrements de gestionnaires de paquets

- Nix - asnmap: normalized package name match | nixpkgs package indexes: pkgs/by-name/as/asnmap/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - asnmap - 1.1.1-10.fc45: normalized package name match | Fedora Rawhide package metadata: asnmap from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Go CLI and Library for quickly mapping organization network ranges using ASN information | https://github.com/projectdiscovery/asnmap


## Combined YAML source

View the package source record on GitHub. [combined/asnmap.yml](https://github.com/mxcl/pkgdb/blob/main/combined/asnmap.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
