SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Bug fixes to reduce false positives
smicallef1e289a069cf0
diff --git a/modules/sfp_dnsresolve.py b/modules/sfp_dnsresolve.pyindex 5fc5d787..0c6bce4d 100644--- a/modules/sfp_dnsresolve.py+++ b/modules/sfp_dnsresolve.py@@ -333,6 +333,16 @@ class sfp_dnsresolve(SpiderFootPlugin):ip6s = self.sf.resolveHost6(host)if ip6s:for ip6 in ip6s:+ parentHash = self.sf.hashstring(evt.data)+ if ip6 not in self.hostresults:+ self.hostresults[ip6] = [parentHash]+ else:+ if parentHash in self.hostresults[ip6] or evt.data == ip6:+ self.sf.debug("Skipping host, " + ip6 + ", already processed.")+ return None+ else:+ self.hostresults[ip6] = self.hostresults[ip6] + [parentHash]+evt6 = SpiderFootEvent("IPV6_ADDRESS", ip6, self.__name__, evt)self.notifyListeners(evt6)diff --git a/modules/sfp_securitytrails.py b/modules/sfp_securitytrails.pyindex b9e0b479..8bb2ddc8 100644--- a/modules/sfp_securitytrails.py+++ b/modules/sfp_securitytrails.py@@ -199,6 +199,8 @@ class sfp_securitytrails(SpiderFootPlugin):myres = list()if rec is not None:for h in rec:+ if h == "":+ continueif h.lower() not in myres:myres.append(h.lower())else: