Shodan#

Shodan key checker#

A lot of API keys can be found in the wild.

You can batch test them using the following tool:

Shodan searching and exporting#

Info on host#

shodan host <ip>

Getting current IP#

shodan myip

Counting search results#

shodan count <search>

Downloading search result#

shodan download <file-name> <search query> --limit 100

Parsing the downloaded search result#

shodan parse --fields ip_str,port,org --separator , <file-name>.json.gz