Skip to content
Shodan Port Scanner
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE First commit Mar 26, 2019
README.md update readme Mar 26, 2019
requirements.txt First commit Mar 26, 2019
shoscan.py typo Mar 26, 2019

README.md

Shodan.io Port Scanning

A simple python script to scan multiple IPs through Shodan using the search API.

Usage

  • Open shoscan.py and update your SHODAN_API_KEY value.
  • pip install -r requirements.txt
  • compile a file (inputIpListFile.txt) with a list of IPs, 1 IP per line
  • python shoscan.py -f inputIpListFile.txt
  • Enjoy your results in csv files and in your console

Todos

  • Remove duplicates from the full results.csv
  • Support other search function from Shodan API?

Help making this little tool better?

Please submit issues with your Pull Requests

Short results

  • IP
  • Port
  • Protocol

Full results: SHODAN Search Response - Data Returned

  • city
  • region_code
  • os
  • tags
  • ip
  • isp
  • area_code
  • dma_code
  • last_update
  • country_code3
  • country_name
  • hostnames
  • postal_code
  • longitude
  • country_code
  • ip_str
  • latitude
  • org
  • data
    • asn
    • hash
    • tags
    • ip
    • isp
    • transport
    • data
    • port
    • ssl
    • hostnames
    • location
    • timestamp
    • domains
    • org
    • os
    • _shodan
    • opts
    • ip_str
  • asn
  • ports
You can’t perform that action at this time.