1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-23 03:15:28 +02:00

asnmap: add page (#16475)

* searchsploit, asnmap: add page

* Delete pages/linux/searchsploit.md

* Update pages/common/asnmap.md

Co-authored-by: Fazle Arefin <fazlearefin@users.noreply.github.com>

* Update asnmap.md

* Update pages/common/asnmap.md

Co-authored-by: Fazle Arefin <fazlearefin@users.noreply.github.com>

---------

Co-authored-by: Fazle Arefin <fazlearefin@users.noreply.github.com>
This commit is contained in:
Machiavelli 2025-05-13 11:59:23 +03:00 committed by GitHub
parent 541aa0a246
commit f41f43dbd1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

37
pages/common/asnmap.md Normal file
View file

@ -0,0 +1,37 @@
# asnmap
> A Go CLI tool for mapping organization network ranges using ASN information.
> Note: An API key is required from ProjectDiscovery Cloud Platform for the tool to work.
> More information: <https://github.com/projectdiscovery/asnmap>.
- Lookup CIDR ranges for an ASN:
`asnmap {{[-a|-asn]}} {{AS5650}} -silent`
- Lookup CIDR ranges for an IP address:
`asnmap {{[-i|-ip]}} {{100.19.12.21}} -silent`
- Lookup CIDR ranges for a domain:
`asnmap {{[-d|-domain]}} {{example.com}} -silent`
- Lookup CIDR ranges for an organization:
`asnmap -org {{GOOGLE}} -silent`
- Lookup CIDR ranges from a file of targets:
`asnmap {{[-f|-file]}} {{targets.txt}} -silent`
- Output results in JSON format:
`asnmap {{[-d|-domain]}} {{facebook.com}} {{[-j|-json]}} -silent`
- Output results in CSV format:
`asnmap {{[-a|-asn]}} {{AS394161}} {{[-c|-csv]}} -silent`
- Update asnmap to the latest version:
`asnmap {{[-up|-update]}}`