Skip to content

Instantly share code, notes, and snippets.

@msfidelis
Created June 11, 2016 19:03
Show Gist options
  • Save msfidelis/07fb1ee85605d241c7626584e77ac757 to your computer and use it in GitHub Desktop.
Save msfidelis/07fb1ee85605d241c7626584e77ac757 to your computer and use it in GitHub Desktop.
SHODAN_API_KEY = "123456789"
api = shodan.Shodan(SHODAN_API_KEY)
results = api.search(dork)
try:
results = api.search(dork)
for result in results['matches']:
print result
except:
sys.exit()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment