-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fuck HackingTeam
- Loading branch information
David Davidson
committed
Jul 7, 2015
1 parent
6246415
commit 8b275f0
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/usr/bin/python2 | ||
# coding: utf-8 | ||
import shodan | ||
|
||
print """ | ||
/$$$$$$$$ /$$ /$$$$$$ /$$ /$$ /$$ /$$$$$ /$$ | ||
|__ $$__/| $$ |_ $$_/| $$ | $$|__/ |__ $$ | $$ | ||
| $$ | $$$$$$$ /$$$$$$ | $$ /$$$$$$ /$$$$$$ | $$ /$$ /$$$$$$ /$$$$$$$ | $$ /$$$$$$ | $$$$$$$ | ||
| $$ | $$__ $$ /$$__ $$ | $$|_ $$_/ |____ $$| $$| $$ |____ $$| $$__ $$ | $$ /$$__ $$| $$__ $$ | ||
| $$ | $$ \ $$| $$$$$$$$ | $$ | $$ /$$$$$$$| $$| $$ /$$$$$$$| $$ \ $$ /$$ | $$| $$ \ $$| $$ \ $$ | ||
| $$ | $$ | $$| $$_____/ | $$ | $$ /$$ /$$__ $$| $$| $$ /$$__ $$| $$ | $$ | $$ | $$| $$ | $$| $$ | $$ | ||
| $$ | $$ | $$| $$$$$$$ /$$$$$$| $$$$/| $$$$$$$| $$| $$| $$$$$$$| $$ | $$ | $$$$$$/| $$$$$$/| $$$$$$$/ | ||
|__/ |__/ |__/ \_______/ |______/ \___/ \_______/|__/|__/ \_______/|__/ |__/ \______/ \______/ |_______/ | ||
Using the SHODAN API to identify HackingTeam C&C Servers. | ||
""" | ||
|
||
SHODAN_API_KEY = "" #API Key Here | ||
api = shodan.Shodan(SHODAN_API_KEY) | ||
try: | ||
# Search Shodan | ||
results = api.search('Apache/2.4.4 (Unix) OpenSSL/1.0.0g 290') | ||
|
||
# Show the results | ||
print '{+} ITALIANS FOUND: %s' % results['total'] | ||
for result in results['matches']: | ||
print '{!} ITALIAN DISCOVERED: %s' % result['ip_str'] | ||
# hack(result['ip_str'].strip()) # h4v3 j00 th3 0bay w4r3z?! | ||
except shodan.APIError, e: | ||
print 'Error: %s' % e |