SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Bug fix.
smicallefc265edaeb9db
diff --git a/modules/sfp_dnsresolve.py b/modules/sfp_dnsresolve.pyindex 572f72b5..acfe02ce 100644--- a/modules/sfp_dnsresolve.py+++ b/modules/sfp_dnsresolve.py@@ -128,14 +128,17 @@ class sfp_dnsresolve(SpiderFootPlugin):if eventName in ["CO_HOSTED_SITE", "AFFILIATE_INTERNET_NAME"]:# If the co-host or affiliate is a domain name, generate# a domain event.+ if "AFFILIATE_" in eventName:+ ev = "AFFILIATE_DOMAIN_NAME"+ else:+ ev = "CO_HOSTED_SITE_DOMAIN"++ # What we've been provided might be a domain, so report itif self.sf.isDomain(eventData, self.opts['_internettlds']):- if "AFFILIATE_" in eventName:- ev = "AFFILIATE_DOMAIN_NAME"- else:- ev = "CO_HOSTED_SITE_DOMAIN"evt = SpiderFootEvent(ev, eventData, self.__name__, parentEvent)self.notifyListeners(evt)+ # In case the domain of the provided host is different, report that toodom = self.sf.hostDomain(eventData, self.opts['_internettlds'])if dom == eventData:return None