SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
sf: Ignore blank lines in passwd file (#1184)
bcoles7b7442e6f6c1
diff --git a/sf.py b/sf.pyindex ee776b88..29846211 100755--- a/sf.py+++ b/sf.py@@ -497,6 +497,9 @@ def start_web_server(sfWebUiConfig, sfConfig):pw = open(passwd_file, 'r')for line in pw.readlines():+ if line.strip() == '':+ continue+if ':' not in line:log.error("Incorrect format of passwd file, must be username:password on each line.")sys.exit(-1)