Skip to content

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

Correct reference to -P flag.

Steve450baf21df91
diff --git a/sfcli.py b/sfcli.py
index b91fde5b..e3c61ae3 100644
--- a/sfcli.py
+++ b/sfcli.py
@@ -1131,7 +1131,7 @@ if __name__ == "__main__":
p.add_argument("-d", "--debug", help="Enable debug output.", action='store_true')
p.add_argument("-s", metavar="URL", type=str, help="Connect to SpiderFoot server on URL. By default, a connection to http://127.0.0.1:5001 will be attempted.")
p.add_argument("-u", metavar="USER", type=str, help="Username to authenticate to SpiderFoot server.")
- p.add_argument("-p", metavar="PASS", type=str, help="Password to authenticate to SpiderFoot server. Consider using -g PASSFILE instead so that your password isn't visible in your shell history or in process lists!")
+ p.add_argument("-p", metavar="PASS", type=str, help="Password to authenticate to SpiderFoot server. Consider using -P PASSFILE instead so that your password isn't visible in your shell history or in process lists!")
p.add_argument("-P", metavar="PASSFILE", type=str, help="File oontaining password to authenticate to SpiderFoot server. Ensure permissions on the file are set appropriately!")
p.add_argument("-e", metavar="FILE", type=str, help="Execute commands from FILE.")
p.add_argument("-l", metavar="FILE", type=str, help="Log command history to FILE. By default, history is stored to ~/.spiderfoot_history unless disabled with -n.")