Skip to content

Instantly share code, notes, and snippets.

@jimmyleith
jimmyleith / simple-export.py
Created December 22, 2015 00:09 — forked from achillean/simple-export.py
A simple script to search Shodan and output the results as JSON-encoded banners; each line corresponds to a single banner.
#!/usr/bin/env python
"""
A simple script to search Shodan and output the results as JSON-encoded banners;
each line corresponds to a single banner.
Warning: This will use up query credits because it pages through the results!
Usage: python simple-export.py <search query>
"""
# Install via "easy_install shodan"