Skip to content

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

Clarified CLI usage for 'start'.

Steve3f38aa5a642b
diff --git a/sfcli.py b/sfcli.py
index e3c61ae3..26818545 100644
--- a/sfcli.py
+++ b/sfcli.py
@@ -746,9 +746,10 @@ class SpiderFootCli(cmd.Cmd):
# Start a new scan.
def do_start(self, line):
- """start <target> [-m m1,...] [-t t1,...] [-u case] [-n name] [-w]
- Start a scan against <target> using modules m1,... or looking for types t1,... or by
- use case ("all", "investigate", "passive" and "footprint").
+ """start <target> (-m m1,... | -t t1,... | -u case) [-n name] [-w]
+ Start a scan against <target> using modules m1,... OR looking for types t1,...
+ OR by use case ("all", "investigate", "passive" and "footprint").
+
Scan be be optionally named [name], without a name the target will be used.
Use -w to watch the logs from the scan. Ctrl-C to abort the logging (but will not
abort the scan).
@@ -946,7 +947,7 @@ class SpiderFootCli(cmd.Cmd):
["types", "List available data types."],
["set [[$]opt] [= val]", "Set variables and configuration settings."],
["scans [-x]", "List all scans that have been run or are running."],
- ["start <target> [-m m1,...] [-t t1,...] [-u case] [-n name] [-w]", "Start a new scan."],
+ ["start <target> (-m m1,... | -t t1,... | -u case) [-n name] [-w]", "Start a new scan."],
["stop <sid>", "Stop a scan."],
["delete <sid>", "Delete a scan."],
["scaninfo <sid> [-c]", "Scan information."],