This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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" |