asnmap
Auth/lab ref: ProjectDiscovery tool for mapping IP ranges from ASN data. For passive recon to discover the full IP space owned by a target organization before port sweeping, and to identify cloud vs.
v2026.11.13-21cd5683 installazioni+3 in 7 giorni39 StelleMITsincronizzato 10 ore fa
Installa
Non hai ancora la CLI di NotHoly? Installala prima.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install aeondave/asnmapScrive in ~/.notholy/skills dopo aver controllato la firma e lo SHA-256.
FirmaFirmato, ed25519
Pacchettoad18c0bd…8a6e4291
ad18c0bdde31…049c8a6e42911 file · 1.7 KBScansioneBasso1 segnalazione
- Link a domini esterni
Sorgentegithub.com/AeonDave/malskill/tree/main/offensive-tools/recon/asnmap@21cd568
Questa voce non è ancora scritta in italiano, quindi è mostrata in un'altra lingua: English.
In questa pagina
Map an organization's full IP space from ASN data. Feeds directly into masscan/nmap scopes.
Quick start
# Domain → ASN → IP ranges
asnmap -d target.com
# IP → ASN → all ranges for that ASN
asnmap -i 1.2.3.4
# Organization name → all ASNs and ranges
asnmap -org "Target Corporation"
# ASN number → CIDR ranges
asnmap -a AS12345
# Output CIDR list for tool consumption
asnmap -d target.com -o cidr_ranges.txtInput modes
# Multiple domains
asnmap -d target.com,sub.target.com
# From file
asnmap -list domains.txt -o ranges.txt
# Multiple IPs
asnmap -i 1.2.3.4,5.6.7.8
# Org name (fuzzy match against WHOIS data)
asnmap -org "Target Inc" -jsonOutput formats
# Plain CIDR list (default)
asnmap -d target.com
# → 1.2.3.0/24
# → 10.0.0.0/16
# JSON output (includes ASN metadata)
asnmap -d target.com -json
# Silent mode (CIDRs only, no banners)
asnmap -d target.com -silent
# CSV output
asnmap -d target.com -csvPipeline integration
# Full pipeline: domain → CIDRs → masscan port sweep
asnmap -d target.com -silent | masscan --ports 80,443,8080,8443 -iL - --rate 5000
# CIDRs → nmap (small ranges only — use masscan for large ranges)
asnmap -d target.com -silent | nmap -iL - -sV --top-ports 100
# CIDRs → shodan API query
asnmap -d target.com -silent | while read cidr; do
shodan search "net:$cidr"
done
# Discover all subdomains per IP range (reverse DNS)
asnmap -d target.com -silent | dnsx -resp-only -ptr -o ptr_records.txtCDN and cloud filtering
Before scanning, filter out CDN and cloud provider IP ranges to avoid wasting time on shared infrastructure.
# Download cloud provider CIDR lists
curl -s https://ip-ranges.amazonaws.com/ip-ranges.json | jq -r '.prefixes[].ip_prefix' > aws_ranges.txt
curl -s https://www.gstatic.com/ipranges/cloud.json | jq -r '.prefixes[].ipv4Prefix // empty' > gcp_ranges.txt
# Filter target ranges against cloud provider lists (remove overlaps)
asnmap -d target.com -silent > target_ranges.txt
# Use cdncheck to tag CDN-hosted IPs before scanning
cat target_ips.txt | cdncheck -resp -o cdncheck_results.txtCloud-hosted ranges are valid targets, but:
- Scanning Cloudflare/Akamai origin IPs leaks your source to CDN logs.
- Scanning shared cloud ranges may hit other tenants — check authorization scope.
ASN investigation workflow
# 1. Find all ASNs for a domain
asnmap -d target.com -json | jq '.asn'
# 2. For each ASN, get full CIDR list
asnmap -a AS12345 -silent
# 3. Check if ranges are consistent with WHOIS
whois AS12345
# 4. Look for additional ASNs via BGP neighbors
# Check: https://bgp.he.net/AS12345#_peers
# 5. Cross-reference against Shodan (passive)
shodan search "asn:AS12345" --fields ip_str,port,orgOPSEC notes
- asnmap queries public ASN databases (WHOIS, BGP sources) — passive, no target contact.
- Combine with
cdncheckto tag CDN-hosted IPs before active scanning. - Large organizations may have dozens of ASNs across regions — always run org name search in addition to domain lookup.
- Cloud provider subnets change frequently — pull fresh CIDR lists before each engagement.
File di questa versione
- SKILL.md3.5 KB
Permessi
| Permesso | Dichiarato | Trovato dalla scansione |
|---|---|---|
| Legge file | Sì | Sì |
| Scrive file | Sì | Sì |
| Esegue comandi shell | Sì | Sì |
| Usa la rete | Sì | Sì |
| Usa i connettori | No | No |
| Controlla un browser | No | No |
Segnalazioni della scansione
Rivisto il 13 nov 2026
- InfoLink · Link a domini esterni
Una scansione pulita abbassa il rischio, ma non prova che il pacchetto sia sicuro. Leggi quello che installi.
| Versione | Pubblicata | Commit | SHA-256 | Firma | Cambio di permessi |
|---|---|---|---|---|---|
| v2026.11.13-21cd568 | 13 nov 2026 | 21cd568 | ad18c0bd | Firmata | – |
Altro da AeonDave
Tutto da questo editoreAltro in Ricognizione e OSINT
Vai alla categoria- gobusteraeondave/gobuster4
- ghuntaeondave/ghunt4
- stride-threat-modelingsecurityskills/stride-threat-modeling3
- attack-surface-reconsecurityskills/attack-surface-recon3
- bug-bounty-recon-pipelinesecurityskills/bug-bounty-recon-pipeline3
- implementing-attack-surface-managementmukul975/implementing-attack-surface-management3
Chiedi tutto quello che il tuo perimetro consente.
Crea un account, aggiungi crediti e fai la prima domanda in chat o nel terminale.
- 1/3
Crea l'account
Privato o azienda. Puoi passare ad azienda in seguito senza perdere saldo o chiavi.
PrivatoAzienda - 2/3
Aggiungi crediti
Con carta. Paghi a token, senza abbonamento.
$5.00ricarica minima - 3/3
Chiedi
In chat, oppure installa la CLI ed esegui notholy login nel terminale.
$ notholy login