Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Einreichen
ToolsExploitsBlog
Einreichen

Hacking-, PenTest- und Cybersicherheits-Tools für Ihr Sicherheitsarsenal!

Kitploit ist ein Verzeichnis von Hacking-, Cybersicherheits- und Pentesting-Tools. Entdecken Sie die neuesten Projekt-Updates, um Schwachstellen zu finden, Systeme zu analysieren, Tests zu automatisieren und Ihre Sicherheit zu stärken.

FeedsKontaktDatenschutz© 2026 Kitploit

Tool-Verzeichnis

Kategorien

Alle Kategorien anzeigen
Loading categories
Tools/GitHubGitHub/projectdiscovery/asnmap
OSINT (Open-Source-Intelligence)AufklärungNetzwerkkartierungInformationsbeschaffungDienstprogramme & FrameworksDNS-Analyse
GitHubprojectdiscovery/asnmap

asnmap

Go-CLI und Bibliothek zum schnellen Kartieren von Organisationsnetzwerkbereichen mithilfe von ASN-Informationen.

Repository anzeigen
1.1k12243vor 1 TagVon Kitploit geprüft
Teilen

asnmap

Go-CLI und Bibliothek zum schnellen Zuordnen von Netzwerkbereichen von Organisationen anhand von ASN-Informationen.

Funktionen • Installation • Verwendung • asnmap ausführen • Discord beitreten


Funktionen

image

  • ASN zu CIDR-Lookup
  • ORG zu CIDR-Lookup
  • DNS zu CIDR-Lookup
  • IP zu CIDR-Lookup
  • ASN/DNS/IP/ORG-Eingabe
  • JSON/CSV/TEXT-Ausgabe
  • Unterstützung für STD IN/OUT

Installation

asnmap erfordert Go 1.26.10 für eine erfolgreiche Installation. Zur Installation führen Sie einfach den folgenden Befehl aus oder laden Sie ein vorkompiliertes Binary von der Release-Seite herunter.

go install github.com/projectdiscovery/asnmap/cmd/asnmap@latest

Verwendung

asnmap -h

Dies zeigt die Hilfe für das Tool an. Hier sind alle Flags, die es unterstützt.

Usage:
  ./asnmap [flags]

Flags:
INPUT:
   -a, -asn string[]     target asn to lookup, example: -a AS5650, -a 5650
   -i, -ip string[]      target ip to lookup, example: -i 100.19.12.21, -i 2a10:ad40::
   -d, -domain string[]  target domain to lookup, example: -d google.com, -d facebook.com
   -org string[]         target organization to lookup, example: -org GOOGLE
   -f, -file string[]    targets to lookup from file

CONFIGURATIONS:
   -auth                    configure ProjectDiscovery Cloud Platform (PDCP) api key (default true)
   -config string           path to the asnmap configuration file
   -r, -resolvers string[]  list of resolvers to use
   -p, -proxy string[]      list of proxy to use (comma separated or file input)
   -t, -threads int         number of concurrent lookups (default 10)

UPDATE:
   -up, -update                 update asnmap to latest version
   -duc, -disable-update-check  disable automatic asnmap update check

OUTPUT:
   -o, -output string  file to write output to
   -j, -json           display json format output
   -c, -csv            display csv format output
   -v6                 display ipv6 cidr ranges in cli output
   -v, -verbose        display verbose output
   -silent             display silent output
   -version            show version of the project

Konfigurieren der ASNMap CLI

Die ASNMap CLI basiert auf der ASNMap API, die ein API-Token von der ProjectDiscovery Cloud Platform erfordert, das über eine Umgebungsvariable oder über die interaktive Option -auth konfiguriert werden kann, wie unten gezeigt.

Verwendung einer Umgebungsvariable

export PDCP_API_KEY=*************

Verwendung der auth-Option

asnmap -auth


   ___   _____  __              
  / _ | / __/ |/ /_ _  ___ ____ 
 / __ |_\ \/    /  ' \/ _  / _ \
/_/ |_/___/_/|_/_/_/_/\_,_/ .__/
                         /_/ 

    projectdiscovery.io

[INF] Get your free api key by signing up at https://cloud.projectdiscovery.io
[*] Enter PDCP API Key (exit to abort): *************
[INF] Successfully logged in as (@user)

Ausführen von asnmap

asnmap unterstützt mehrere Eingaben, darunter ASN, IP, DNS und ORG-Namen, um ASN/CIDR-Informationen abzufragen.

EingabeASNDNSIPORG
BeispielAS14421example.com93.184.216.34GOOGLE

Die Eingabe kann entweder über spezifische Optionen oder über STDIN erfolgen, das alle unterstützten Formate akzeptiert. Einzel-, Mehrfach- (kommagetrennte) und Dateieingabe werden für alle Optionen unterstützt.

echo GOOGLE | ./asnmap -silent

Beispieleingabe für asnmap:

asnmap -a AS45596 -silent
asnmap -i 100.19.12.21 -silent
asnmap -d hackerone.com -silent
asnmap -org GOOGLE -silent

Standardausführung

asnmap gibt standardmäßig den CIDR-Bereich für die gegebene Eingabe zurück.

echo GOOGLE | ./asnmap

   ___   _____  __              
  / _ | / __/ |/ /_ _  ___ ____ 
 / __ |_\ \/    /  ' \/ _  / _ \
/_/ |_/___/_/|_/_/_/_/\_,_/ .__/
                         /_/    v0.0.1
		projectdiscovery.io

Use with caution. You are responsible for your actions
Developers assume no liability and are not responsible for any misuse or damage.

8.8.4.0/24
8.8.8.0/24
8.35.200.0/21
34.3.3.0/24
34.4.4.0/24
34.96.0.0/20
34.96.32.0/19
34.96.64.0/18
34.98.64.0/18
34.98.136.0/21
34.98.144.0/21

JSON-Ausgabe

asnmap zeigt standardmäßig den CIDR-Bereich an, und alle Informationen sind stets im JSON-Format verfügbar. Für Automatisierung und Nachbearbeitung ist die Ausgabe mit -json die praktischste Option.

echo hackerone.com | ./asnmap -json -silent | jq
{
  "timestamp": "2022-09-19 12:14:33.267339314 +0530 IST",
  "input": "hackerone.com",
  "as_number": "AS13335",
  "as_name": "CLOUDFLARENET",
  "as_country": "US",
  "as_range": [
    "104.16.0.0/14",
    "104.20.0.0/16",
    "104.21.0.0/17"
  ]
}
{
  "timestamp": "2022-09-19 12:14:33.457401266 +0530 IST",
  "input": "hackerone.com",
  "as_number": "AS13335",
  "as_name": "CLOUDFLARENET",
  "as_country": "US",
  "as_range": [
    "2606:4700:8390::/44"
  ]
}

CSV-Ausgabe

asnmap unterstützt auch die CSV-Format-Ausgabe, die alle Informationen wie die JSON-Ausgabe enthält

echo hackerone.com | ./asnmap -csv -silent
timestamp|input|as_number|as_name|as_country|as_range
2022-09-19 12:15:04.906664007 +0530 IST|hackerone.com|AS13335|CLOUDFLARENET|US|104.16.0.0/14,104.20.0.0/16,104.21.0.0/17
2022-09-19 12:15:05.201328136 +0530 IST|hackerone.com|AS13335|CLOUDFLARENET|US|2606:4700:9760::/44

Verwendung mit anderen PD-Projekten

Die Ausgabe von asnmap kann direkt in andere Projekte in einem Workflow weitergeleitet werden, die stdin als Eingabe akzeptieren, zum Beispiel:

  • echo AS54115 | asnmap | tlsx
  • echo AS54115 | asnmap | dnsx -ptr
  • echo AS54115 | asnmap | naabu -p 443
  • echo AS54115 | asnmap | naabu -p 443 | httpx
  • echo AS54115 | asnmap | naabu -p 443 | httpx | nuclei -id tech-detect

asnmap als Bibliothek verwenden

Beispiele für die Verwendung von asnmap aus Go-Code finden sich im Ordner examples.

Danksagungen

  • Frank Denis für die Pflege der kostenlosen IPtoASN-Datenbank.

Tool herunterladen

Beliebteste

Alle anzeigen →

Entdecken Sie die meistgenutzten Tools unserer Community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 Das ultimative OSINT-Toolkit: Untersuchungsgraph, Konfidenzbewertung, Alias-Familien, Karte, Zeitleiste und Berichte. 49 Module, 400+ Websites, keine API-Schlüssel erforderlich.

    513
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    471
  • 3

    ARTEX

    baarai/artex

    LLM-basierte Multi-Agenten-Plattform für autonome Penetrationstests mit Planer-/Worker-Agenten, Asset- und Explorationsgraphen, MITM-Verkehrsaufzeichnung und Schwachstellen-Retesting.

    345
  • 4

    redforge

    cybersecurity91/redforge

    Browser-seitiges Red-Team-Toolkit mit 102 Offline-Tools für Recon, Payload-Generierung, Credential-Angriffe, Krypto, Encoding und Engagement-Reporting.

    311
  • 5

    estorides

    grisuno/estorides

    Aggregiert 99+ kostenlose OSINT-Quellen parallel, löst Entitäten in einen Knowledge Graph auf und exportiert STIX 2.1, MISP oder GraphML mit LLM-gestützter Analyse.

    303
  • 6

    opencti

    opencti-platform/opencti

    Offene Plattform für Cyber-Bedrohungsinformationen

    303

Alle Tools erkunden

Durchsuchen Sie unsere Tool-Sammlung

Alle Tools anzeigen →