Skip to content

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

Bug fix.

smicallefb6115ee9a66e
diff --git a/modules/sfp_dnszonexfer.py b/modules/sfp_dnszonexfer.py
index 84b56e29..bfaf4b47 100644
--- a/modules/sfp_dnszonexfer.py
+++ b/modules/sfp_dnszonexfer.py
@@ -80,6 +80,9 @@ class sfp_dnszonexfer(SpiderFootPlugin):
# the zone transfer.
if not self.sf.validIP(eventData):
nsips = self.sf.resolveHost(eventData)
+ if not nsips:
+ return None
+
if len(nsips) > 0:
for n in nsips:
if self.sf.validIP(n):