Last active
December 8, 2019 16:20
-
-
Save jimywork/eec2c3067864757d02eabf5ea5937f69 to your computer and use it in GitHub Desktop.
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 | |
# -*- coding: utf-8 -*- | |
import shodan | |
import requests | |
def goipsms (api=None, dork=None, limit=None, offset=None) : | |
try: | |
api = shodan.Shodan(api) | |
res = api.search(dork, limit=limit, offset=offset) | |
except shodan.APIError as error: | |
print(error) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment