Created
October 1, 2019 17:34
-
-
Save MayankFawkes/67ae270610fda4a45a56be4a4dd7541c to your computer and use it in GitHub Desktop.
shodan search
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
import shodan | |
api=shodan.Shodan(API_KEY_HERE) | |
results = api.search('product:"Memcached" port:11211') | |
print('Results found: {}'.format(results['total'])) | |
for n in results["matches"]: | |
print("http://"+n["ip_str"]+":"+str(n["port"])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment