SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
sf: use sf.myPath() as base for /static/ path
Brendan Coles32e80aadc7a0
diff --git a/sf.py b/sf.pyindex 13f89e8b..7cdb9705 100755--- a/sf.py+++ b/sf.py@@ -401,7 +401,6 @@ if __name__ == '__main__':cherrypy.engine.autoreload.unsubscribe()# Enable access to static files via the web directory- currentDir = os.path.abspath(sf.myPath())conf = {'/query': {'tools.encode.text_only': False,@@ -409,7 +408,8 @@ if __name__ == '__main__':},'/static': {'tools.staticdir.on': True,- 'tools.staticdir.dir': os.path.join(currentDir, 'static')+ 'tools.staticdir.dir': 'static',+ 'tools.staticdir.root': sf.myPath()}}