
cerca informazioni sugli host con Shodan
Devi installare shodan con pip install shodan o easy_install shodan.
Devi installare python-nmap con pip install python-nmap.
Devi impostare la tua API Key nel file 'constantes.py'.
-h, --help mostra questo messaggio di aiuto ed esci
-i IP, --ip=IP informazioni su un host
-l LIST, --list=LIST informazioni su una lista di host
-s SQ, --sq=SQ stringa di ricerca (searchquery)
--nmap esegui una scansione nmap sugli host
--setkey=SETKEY imposta automaticamente la tua api key
-r RANGE, --range=RANGE scansione un range di IP. es: 192.168.1.1-192.168.1.255
-o OUTPUT, --output=OUTPUT specifica un file di output
Opzioni Nmap:
--sS TCP Syn Scan
--sT TCP Connect Scan
--sU UDP Scan
Per un singolo host
python shodanhat.py -i IP
Per una lista di host
python shodanhat.py -l list.txt
Puoi anche impostare una searchquery per fare una query specifica con l'opzione '-s'!