Skip to content
Python 3 script for interacting with Shodan API
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.
dist
pyShodan
.gitignore
.travis.yml
LICENSE
README.md
packageIt.sh
pushPackage.sh
requirements.txt
setup.py

README.md

pyShodan (https://govanguard.io)

Build Status Known Vulnerabilities Maintainability

About pyShodan

Python 3 script for interacting with Shodan API. Has three modes of operation: making an API query for a search term, for a single IP address, or for a list of IP addresses in a .txt file.

Installation

git clone https://github.com/GoVanguard/pyShodan.git

Recommended Python Version

Tested on Python 3.5+.

Dependencies

  • Shodan (pip3 install shodan)

Usage

Short Form Long Form Description
-h --help show this help message and exit
-s --search Search Shodan for a general term
-ip --ipaddr Search Shodan for a specific IP address
n/a --iplist Search Shodan for every IP address in a txt file
-api --api Shodan API key (required)

Output is printed to stdout as well as CSV files in the script directory.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.