Skip to content

Python script to perform shodan queries to its API, and parse the results based on specific keys

Notifications You must be signed in to change notification settings

chamalis/shodan2csv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

>>> Prerequisites <<<

Python and its libraries: shodan, simplejson

Tested with:
Ubuntu Linux x86_64 12.04 3.13.0-35-generic
Python: 2.7.3
shodan: 1.0.6
simplejson: 2.3.2


>>> USAGE <<<

There is one mandatory argument which is the query (-q)
There are optional arguments for 
1) the api key (if not supplied must be supplied through the first lines of the code)
2) The -v (verbose) to print informational messages

examples:

$ python query2csv.py -q tridium -k MY_KEY
$ python query2csv.py -q bacnet 
$ python query2csv.py -q "default password" -v

Note: for multiword arguments use " "

About

Python script to perform shodan queries to its API, and parse the results based on specific keys

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages