Skip to content

Python script to parse JSON data exported from SHODAN nad create IP:PORT list to use with other tools

License

Notifications You must be signed in to change notification settings

jpiechowka/shodan-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Shodan Parser

Shodan Parser will parse JSON data exported from SHODAN and create IP:PORT formatted list to be used with other tools. To run specify path to a file with JSON data from SHODAN.

Requirements

pip install click

Usage and options

Usage: shodan-parser.py [OPTIONS] SHODAN_JSON_FILE

  This script will parse JSON data from SHODAN and create IP:PORT formatted
  list to be used with other tools. To run specify path to a file with JSON
  data from SHODAN.

Options:
  --version                Show the version and exit.
  -o, --output TEXT        Path to output file with parsed data. IP:PORT
                           format, one entry per line  [default: targets.txt]
  -v, --verbose            Verbose mode  [default: False]
  -n, --log-every INTEGER  Show log after specified number of entries parsed.
                           Effective only in verbose mode  [default: 100]
  -h, --help               Show this message and exit.

Examples

python shodan-parser.py shodan_data.json

python shodan-parser.py -o custom_output.txt -v shodan_data.json

python shodan-parser.py -o custom_output.txt -v -n 10 shodan_data.json

About

Python script to parse JSON data exported from SHODAN nad create IP:PORT list to use with other tools

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages