Skip to content

SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.

Stronger warnings when no auth is enabled.

smicalleff149209a67ea
diff --git a/sf.py b/sf.py
index ace4647b..0b8b1808 100755
--- a/sf.py
+++ b/sf.py
@@ -446,7 +446,16 @@ if __name__ == '__main__':
'tools.auth_digest.key': random.SystemRandom().randint(0, 99999999)
}
else:
+ print("")
+ print("********************************************************************")
print("Warning: passwd file contains no passwords. Authentication disabled.")
+ print("********************************************************************")
+ else:
+ print("")
+ print("********************************************************************")
+ print("Please consider adding authentication to protect this instance!")
+ print("Refer to https://www.spiderfoot.net/documentation/#security.")
+ print("********************************************************************")
key_path = sf.dataPath() + '/spiderfoot.key'
crt_path = sf.dataPath() + '/spiderfoot.crt'