SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Updated formatting.
Steve0a251a03442e
diff --git a/sfcli.py b/sfcli.pyindex 7481161c..a215b3ea 100644--- a/sfcli.py+++ b/sfcli.py@@ -152,7 +152,8 @@ class SpiderFootCli(cmd.Cmd):def do_history(self, line):"""history [-l]- Short-cut command for set cli.history = 1/0. Add -l to just list the history."""+ Short-cut command for set cli.history = 1/0.+ Add -l to just list the history."""c = self.myparseline(line)if '-l' in c[0]:@@ -565,7 +566,8 @@ class SpiderFootCli(cmd.Cmd):# Get scan info and config.def do_scaninfo(self, line):"""scaninfo <sid> [-c]- Get status information for scan ID <sid>, optionally also its configuration if -c is supplied."""+ Get status information for scan ID <sid>, optionally also its+ configuration if -c is supplied."""c = self.myparseline(line)if len(c[0]) < 1:self.edprint("Invalid syntax.")@@ -630,8 +632,9 @@ class SpiderFootCli(cmd.Cmd):# Show the data from a scan.def do_data(self, line):"""data <sid> [-t type] [-x] [-u]- Get the scan data for scan ID <sid> and optionally the element type [type] (e.g. EMAILADDR),- [type]. Use -x for extended format. Use -u for a unique set of results."""+ Get the scan data for scan ID <sid> and optionally the element+ type [type] (e.g. EMAILADDR), [type]. Use -x for extended format.+ Use -u for a unique set of results."""c = self.myparseline(line)if len(c[0]) < 1:self.edprint("Invalid syntax.")@@ -678,7 +681,8 @@ class SpiderFootCli(cmd.Cmd):"""logs <sid> [-l count] [-w]Show the most recent [count] logs for a given scan ID, <sid>.If no count is supplied, all logs are given.- If -w is supplied, logs will be streamed to the console until Ctrl-C is entered."""+ If -w is supplied, logs will be streamed to the console until+ Ctrl-C is entered."""c = self.myparseline(line)if len(c[0]) < 1:self.edprint("Invalid syntax.")@@ -753,12 +757,14 @@ 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,...+ 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).+ 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)."""mods = ""types = ""@@ -842,7 +848,8 @@ class SpiderFootCli(cmd.Cmd):# Search for datadef do_find(self, line):"""find "<string|/regex/>" <[-s sid]|[-t type]> [-x]- Search for string/regex, limited to the scope of either a scan ID or event type. -x for extended format."""+ Search for string/regex, limited to the scope of either a scan ID or+ event type. -x for extended format."""c = self.myparseline(line)if len(c[0]) < 1:self.edprint("Invalid syntax.")@@ -881,7 +888,8 @@ class SpiderFootCli(cmd.Cmd):# Summary of a scandef do_summary(self, line):"""summary <sid> [-t]- Summarise the results for a scan ID, <sid>. -t to only show the element types."""+ Summarise the results for a scan ID, <sid>. -t to only show+ the element types."""c = self.myparseline(line)if len(c[0]) < 1:self.edprint("Invalid syntax.")