Skip to content

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

Bug fix.

smicallefe94a40923d65
diff --git a/modules/sfp_dnsresolve.py b/modules/sfp_dnsresolve.py
index c9b9eba8..58b8a8d6 100644
--- a/modules/sfp_dnsresolve.py
+++ b/modules/sfp_dnsresolve.py
@@ -171,8 +171,10 @@ class sfp_dnsresolve(SpiderFootPlugin):
for match in matches:
# Wildcard certs will come in as .blah.blah
if match[1].startswith("."):
- match[1] = match[1][1:]
- self.processHost(match[1], parentEvent, False)
+ m = match[1][1:]
+ else:
+ m = match[1]
+ self.processHost(m, parentEvent, False)
# Nothing left to do with internal links and raw data
return None