SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Bug fixes
smicallefa7512b44da53
diff --git a/modules/sfp_binstring.py b/modules/sfp_binstring.pyindex d2c9a570..8e147808 100644--- a/modules/sfp_binstring.py+++ b/modules/sfp_binstring.py@@ -62,6 +62,7 @@ class sfp_binstring(SpiderFootPlugin):return Nonefor c in content:+ c = str(c)if len(words) >= self.opts['maxwords']:breakif c in string.printable and c not in string.whitespace:diff --git a/modules/sfp_spider.py b/modules/sfp_spider.pyindex 2831365d..05e38f1f 100644--- a/modules/sfp_spider.py+++ b/modules/sfp_spider.py@@ -205,10 +205,11 @@ class sfp_spider(SpiderFootPlugin):sendcontent = Falseif sendcontent:- event = SpiderFootEvent("TARGET_WEB_CONTENT", httpresult['content'],- self.__name__, parentEvent)- event.actualSource = url- self.notifyListeners(event)+ if httpresult['content'] != None:+ event = SpiderFootEvent("TARGET_WEB_CONTENT", httpresult['content'],+ self.__name__, parentEvent)+ event.actualSource = url+ self.notifyListeners(event)event = SpiderFootEvent("WEBSERVER_HTTPHEADERS", json.dumps(httpresult['headers'], ensure_ascii=False),self.__name__, parentEvent)