SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Removed the Python 3.6+ format strings so that users can still get the error message that Python 3.6+ is required.
smicallef37699750ab60
diff --git a/sfwebui.py b/sfwebui.pyindex 22150fb6..1ed92fd3 100644--- a/sfwebui.py+++ b/sfwebui.py@@ -352,7 +352,7 @@ class SpiderFootWebUi:# It must then be a name, as a re-run scan should always have a clean# target. Put quotes around the target value and try to determine the# target type again.- targetType = sf.targetType(f'"{scantarget}"')+ targetType = sf.targetType('"' + scantarget + '"')if targetType != "HUMAN_NAME":scantarget = scantarget.lower()@@ -847,7 +847,7 @@ class SpiderFootWebUi:time.sleep(1)if not cli:- raise cherrypy.HTTPRedirect(f"/scaninfo?id={scanId}")+ raise cherrypy.HTTPRedirect("/scaninfo?id=" + scanId)else:return json.dumps(["SUCCESS", scanId])