Skip to content

SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.

Whitelist useful analytics networks

Brendan Coles6d1b721724a9
diff --git a/modules/sfp_shodan.py b/modules/sfp_shodan.py
index 1d600315..47ff7c92 100644
--- a/modules/sfp_shodan.py
+++ b/modules/sfp_shodan.py
@@ -149,6 +149,10 @@ class sfp_shodan(SpiderFootPlugin):
eventData + " (" + str(e) + ")", False)
return None
+ if network not in ['Google AdSense', 'Google Analytics', 'Google Site Verification']:
+ self.sf.debug("Skipping " + eventData + ", as not supported.")
+ return None
+
rec = self.searchHtml(analytics_id)
if rec is None: