SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Reduce noisy errors.
smicallefe83e390bc6f1
diff --git a/modules/sfp_dnszonexfer.py b/modules/sfp_dnszonexfer.pyindex 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 classdiff --git a/modules/sfp_open_passive_dns_database.py b/modules/sfp_open_passive_dns_database.pyindex 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