Quantcast
Channel: KitPloit - PenTest Tools!
Viewing all articles
Browse latest Browse all 5816

ShodanHat - Search For Hosts Info With Shodan

$
0
0

Search For Hosts Info With Shodan.

Dependencies
You need to install shodan with pip install shodan or easy_install shodan.
You need to install python-nmap with pip install python-nmap.
You need to set your API Key in the 'constantes.py' file.

Options
-h, --help show this help message and exit
-i IP, --ip=IP info about one host
-l LIST, --list=LIST info about a list of hosts
-s SQ, --sq=SQ searchquery string
--nmap perform a nmap scan in the hosts
--setkey=SETKEY set your api key automatically
NMap Options:
--sS TCP Syn Scan
--sT TCP Connect Scan
--sU UDP Scan

Usage
For One Host
python shodanhat.py -i IP
For a list of Hosts
python shodanhat.py -l list.txt
You can also set a searchquery to make a specific query with '-s' option!





Viewing all articles
Browse latest Browse all 5816

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>