Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dependencies
- You need to install Shodan module Python with pip install shodan.
- You need to install python-nmap module with pip install python-nmap
- You need to set your Shodan ShAPI Key with command python shodanhat.py --setkey [Shodan API key]. Register one here
- Usage: shodanhat.py [options]
- 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
- Screenshot
- Download ShodanHat: https://github.com/HatBashBR/ShodanHat
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement