SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Fix false positives from c99 and onyphe modules.
smicallef964f46f97744
diff --git a/modules/sfp_c99.py b/modules/sfp_c99.pyindex fe76777f..1af8bccd 100644--- a/modules/sfp_c99.py+++ b/modules/sfp_c99.py@@ -331,12 +331,12 @@ class sfp_c99(SpiderFootPlugin):self.sf.debug("Host {data} could not be resolved.")- if self.getTarget().matches(data, includeParents=True):+ if self.getTarget().matches(data):evt = SpiderFootEvent("INTERNET_NAME_UNRESOLVED", data, self.__name__, event)self.notifyListeners(evt)return- if self.getTarget().matches(data, includeParents=True):+ if self.getTarget().matches(data):evt = SpiderFootEvent('INTERNET_NAME', data, self.__name__, event)self.notifyListeners(evt)if self.sf.isDomain(data, self.opts['_internettlds']):diff --git a/modules/sfp_onyphe.py b/modules/sfp_onyphe.pyindex aaad7bfc..ff74b685 100644--- a/modules/sfp_onyphe.py+++ b/modules/sfp_onyphe.py@@ -191,7 +191,7 @@ class sfp_onyphe(SpiderFootPlugin):domains.add(subDomain)for domain in domains:- if self.getTarget().matches(domain, includeParents=True):+ if self.getTarget().matches(domain):if self.opts['verify'] and self.sf.resolveHost(domain):evt = SpiderFootEvent('INTERNET_NAME', domain, self.__name__, event)else: