Skip to content

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

Look for specific events instead of everything.

Steve Micallefd66d5566b5fe
diff --git a/modules/sfp_dnsresolve.py b/modules/sfp_dnsresolve.py
index 175fab30..3deafe83 100644
--- a/modules/sfp_dnsresolve.py
+++ b/modules/sfp_dnsresolve.py
@@ -101,7 +101,18 @@ class sfp_dnsresolve(SpiderFootPlugin):
# What events is this module interested in for input
def watchedEvents(self):
- return ['*']
+ return [
+ # Events that need some kind of DNS treatment
+ "CO_HOSTED_SITE", "AFFILIATE_INTERNET_NAME", "NETBLOCK_OWNER",
+ "IP_ADDRESS", "INTERNET_NAME", "AFFILIATE_IPADDR",
+ # Events that may contain hostnames in their content
+ "TARGET_WEB_CONTENT", "BASE64_DATA", "AFFILIATE_DOMAIN_WHOIS",
+ "CO_HOSTED_SITE_DOMAIN_WHOIS", "DOMAN_WHOIS", "NETBLOCK_WHOIS",
+ "LEAKSITE_CONTENT", "RAW_DNS_RECORDS", "RAW_FILE_META_DATA",
+ "SEARCH_ENGINE_WEB_CONTENT", "SIMILARDOMAIN_WHOIS",
+ "SSL_CERTIFICATE_RAW", "SSL_CERTIFICATE_ISSUED", "TCP_PORT_OPEN_BANNER",
+ "WEBSERVER_BANNER", "WEBSERVER_HTTPHEADERS"
+ ]
# What events this module produces
# This is to support the end user in selecting modules based on events
@@ -121,7 +132,7 @@ class sfp_dnsresolve(SpiderFootPlugin):
parentEvent = event
# Don't be recursive
- if srcModuleName == "sfp_dnsresolve" or eventName == "ROOT":
+ if srcModuleName == "sfp_dnsresolve":
return None
self.sf.debug("Received event, " + eventName + ", from " + srcModuleName)