SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Python version check.
smicallefc62e947282c1
diff --git a/sf.py b/sf.pyindex c279f8d6..711930e0 100755--- a/sf.py+++ b/sf.py@@ -84,13 +84,17 @@ def handle_abort(signal, frame):sys.exit(-1)if __name__ == '__main__':+ if sys.version_info < (3, 6):+ print("SpiderFoot 3.1+ requires Python 3.6 or higher.")+ sys.exit(-1)+if len(sys.argv) == 0:- print("SpiderFoot 3.0 now requires -l <ip>:<port> to start the web server.")+ print("SpiderFoot 3.x now requires -l <ip>:<port> to start the web server.")sys.exit(-1)if len(sys.argv) > 1:if not sys.argv[1].startswith("-"):- print("SpiderFoot 3.0 now requires -l <ip>:<port> to start the web server.")+ print("SpiderFoot 3.x now requires -l <ip>:<port> to start the web server.")sys.exit(-1)# Legacy way to run the server