SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Unicode handling.
Steve443980d8f928
diff --git a/modules/sfp_spider.py b/modules/sfp_spider.pyindex 118c53ae..04af3af7 100644--- a/modules/sfp_spider.py+++ b/modules/sfp_spider.py@@ -178,11 +178,13 @@ class sfp_spider(SpiderFootPlugin):# Notify listening modules about linksdef linkNotify(self, url, parentEvent=None):if self.getTarget().matches(self.sf.urlFQDN(url)):- type = "LINKED_URL_INTERNAL"+ utype = "LINKED_URL_INTERNAL"else:- type = "LINKED_URL_EXTERNAL"+ utype = "LINKED_URL_EXTERNAL"- event = SpiderFootEvent(type, url, self.__name__, parentEvent)+ if type(url) != unicode:+ url = unicode(url, "utf-8", errors='replace')+ event = SpiderFootEvent(utype, url, self.__name__, parentEvent)self.notifyListeners(event)return event