
Dieses Tool extrahiert Domains aus IP-Adressen basierend auf den in virustotal gespeicherten Informationen.
Update V2: Es wurde von Python 2.7 auf 3.8.10 migriert. Jetzt unterstützt es eine Eingabedatei und CSV-Ausgabedatei.
Beschreibung:
Dieses Tool ermöglicht es Ihnen, Domains aus einem IP-Bereich zu extrahieren, indem es die historischen Informationen verwendet, die in Virustotal archiviert sind (mit API-Schlüssel). Es ist nützlich, wenn Sie wissen möchten, welche Domains hinter dieser IP-Adresse stehen, zum Beispiel: In Bug-Bounty-Programmen ist einer der ersten Schritte das Extrahieren von Subdomains. Dieses Tool kann bei dieser Aufgabe helfen ... Zuerst müssen Sie den IP-Bereich herausfinden, den ein Unternehmen nutzt, ODER Sie können eine Datei mit der IP-Liste bereitstellen. Oft ist ein guter Ausgangspunkt, die AS-Nummer (Autonomes System) zu kennen, dann können Sie den IP-Bereich finden.
Um dieses Tool zu verwenden, müssen Sie Ihren Virustotal-API-Schlüssel im Code einrichten. Bitte registrieren Sie sich bei Virustotal; danach erhalten Sie den API-Schlüssel, oder verwenden Sie meinen Test-API-Schlüssel.
Beispiel:
python3 iptodomain3.py -f ips.txt -w output.csv -v
python3 iptodomain.py -l 103.22.201.25 -k 103.22.201.255 -o result.txt
Verwendung:
python3 iptodomain.py
usage: iptodomain.py [-h] [-l FIRST_IP] [-k LAST_IP] [-f INPUT_FILE] [-w FILE2] [-o FILE1] [-v] [-r FILE3]
-h, --help show this help message and exit
-l FIRST_IP The First IP of the range that you want to scan
-k LAST_IP The Last IP of the range that you want to scan.
-f INPUT_FILE Input file with IPs.
-w FILE2 Please enter the output file name, it will save a report with all domains and its IPs in .csv format
-o FILE1 Please enter the file name where the all IPs and domains found are going to save in txt format.
-v It shows more information while you are scanning.
-r FILE3 Please enter the output file name, it will save a report without duplicate domains results
This tool allow to extract domains from IP information on Virustotal and save
the output in a file(txt, csv). You have to set up the IP range where you like to
extract domain or subdomain or provide an IP list. Additionally it is neccesary set up your
VirusTotal API key in the code.
Dieses Tool wurde erstellt von:
Juan Esteban Valencia Pantoja