Recon-ng shodan: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 1: | Zeile 1: | ||
| + | |||
== API-Key für Shodan hinzufügen == | == API-Key für Shodan hinzufügen == | ||
* API-Key setzen | * API-Key setzen | ||
| Zeile 24: | Zeile 25: | ||
* Modul starten | * Modul starten | ||
run | run | ||
| + | |||
== Ports anzeigen == | == Ports anzeigen == | ||
| − | + | * Inhalt der Ports-Tabelle prüfen | |
| + | show ports | ||
| + | |||
| + | == Ports als CSV exportieren == | ||
| + | * CSV-Exportmodul installieren | ||
| + | marketplace install reporting/csv | ||
| + | |||
| + | * Modul laden | ||
| + | modules load reporting/csv | ||
| + | |||
| + | * Tabelle festlegen | ||
| + | options set TABLE ports | ||
| + | |||
| + | * Pfad zur Ausgabedatei setzen | ||
| + | options set FILENAME /home/xinux/shodan_ports.csv | ||
| + | |||
| + | * Spaltenüberschriften aktivieren | ||
| + | options set HEADERS True | ||
| + | |||
| + | * Export starten | ||
| + | run | ||
Version vom 17. Mai 2025, 12:59 Uhr
API-Key für Shodan hinzufügen
- API-Key setzen
keys add shodan_api xxxxxxxxxxxxxxxxxxxxx
API-Keys anzeigen
- Liste der gesetzten API-Keys anzeigen
keys list
Shodan-Modul suchen und installieren
- Nach Shodan-Modulen suchen
marketplace search shodan
- Shodan-Modul installieren
marketplace install recon/hosts-ports/shodan_ip
Modul laden und konfigurieren
- Shodan-Modul laden
modules load recon/hosts-ports/shodan_ip
- Modulinfo anzeigen
info
- Quelle (IP-Adresse) setzen
options set SOURCE 176.9.81.219
Modul ausführen
- Modul starten
run
Ports anzeigen
- Inhalt der Ports-Tabelle prüfen
show ports
Ports als CSV exportieren
- CSV-Exportmodul installieren
marketplace install reporting/csv
- Modul laden
modules load reporting/csv
- Tabelle festlegen
options set TABLE ports
- Pfad zur Ausgabedatei setzen
options set FILENAME /home/xinux/shodan_ports.csv
- Spaltenüberschriften aktivieren
options set HEADERS True
- Export starten
run