Friday, 6 July 2018

ShodanHat - Search Servers Information with Shodan

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 API Key with command:
      python shodanhat.py --setkey [Shodan API key]

Install
   git clone https://github.com/HatBashBR/ShodanHat
   cd ShodanHat
   python shodanhat.py --setkey [Shodan API key]
   python shodanhat.py -h

Help
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
ShodanHat - Search Servers Information with Shodan

No comments:

Post a Comment