-
-
Save TheSkallywag/5e3b92b89912ba504e12aee2f21fa666 to your computer and use it in GitHub Desktop.
Find all the domains ThreatMetrix is using to exfil user tracking data
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
from shodan import Shodan | |
api = Shodan('API-KEY') | |
results = api.search('org:"Threat Metrix" port:443 Bad Request') | |
for banner in results['matches']: | |
# Only care about services that use SSL | |
if 'ssl' in banner: | |
print(banner['ssl']['cert']['subject']['CN']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment