Skip to content

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

Reduce noisy errors.

smicallefe83e390bc6f1
diff --git a/modules/sfp_dnszonexfer.py b/modules/sfp_dnszonexfer.py
index 5eab4377..07db5c78 100644
--- a/modules/sfp_dnszonexfer.py
+++ b/modules/sfp_dnszonexfer.py
@@ -121,7 +121,7 @@ class sfp_dnszonexfer(SpiderFootPlugin):
self.notifyListeners(evt)
except BaseException as e:
- self.sf.error("Failed to obtain DNS response for " + eventData +
- "(" + name + "): " + str(e), False)
+ self.sf.info("Unable to perform DNS zone transfer for " + eventData +
+ "(" + name + "): " + str(e))
# End of sfp_dnszonexfer class
diff --git a/modules/sfp_open_passive_dns_database.py b/modules/sfp_open_passive_dns_database.py
index 3eb18d2a..17421df5 100644
--- a/modules/sfp_open_passive_dns_database.py
+++ b/modules/sfp_open_passive_dns_database.py
@@ -82,6 +82,10 @@ class sfp_open_passive_dns_database(SpiderFootPlugin):
for row in rows:
columns = re.findall(r'<td.*?>(.*?)</td>', row, re.DOTALL)
+ # 0 seems to indicate no genuine issue
+ if len(columns) == 0:
+ continue
+
if len(columns) != 7:
self.sf.error("Unexpected number of columns for row. Expected 7, Found " + str(len(columns)), False)
continue