SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Use securepy - Fix #386
Brendan Colesf941ebc1c8c2
diff --git a/requirements.txt b/requirements.txtindex cef165be..2ee36ffa 100644--- a/requirements.txt+++ b/requirements.txt@@ -15,6 +15,7 @@ PyPDF2>=1.26.0stem>=1.7.1python-whois>=0.7.1future+securepyOpenSSL>=16.2.0python-docx>=0.8.10python-pptx>=0.6.18diff --git a/sfwebui.py b/sfwebui.pyindex 4e36a687..b0f70d8b 100644--- a/sfwebui.py+++ b/sfwebui.py@@ -15,6 +15,7 @@ import cgiimport csvimport timeimport random+from secure import SecureHeadersfrom cherrypy import _cperrorfrom operator import itemgetterfrom copy import deepcopy@@ -54,6 +55,13 @@ class SpiderFootWebUi:'request.error_response': self.error_page})+ secure_headers = SecureHeaders()++ cherrypy.config.update({+ "tools.response_headers.on": True,+ "tools.response_headers.headers": secure_headers.cherrypy()+ })+print("")print("")print("*************************************************************")