https://github.com/HatBashBR/ShodanHatDependencies
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
-r RANGE, --range=RANGE scan a range of ips. ex: 192.168.1.1-192.168.1.255
-o OUTPUT, --output=OUTPUT specify a output file
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!
DISCLAMER :
All information contained in this site and all software provided by it are intended solely for the purpose of helping users to secure their online privacy from eventual cyberattacks. Such information and software do NOT constitute professional advice/services, are indicative and provided for educational use only. The site does not guarantee their accuracy or completeness. The use of such information and software for any purpose other than the abovementioned is strictly forbidden. The site and/or the site’s owner(s) hold no responsibility for any misuse of the above by third parties and reserve their rights to ban the access of users or take any legal action against users, should any misuse be noticed.
...
https://www.youtube.com/watch?v=XpKzuQCP9so