1
1
Feature : Help command
2
2
3
3
Background :
4
- Given I run `msfconsole --defer-module-loads -x help -x exit`
4
+ Given I run `msfconsole --defer-module-loads -q - x help -x exit`
5
5
6
6
Scenario : The 'help' command's output
7
7
Then the output should contain:
@@ -12,51 +12,72 @@ Feature: Help command
12
12
Command Description
13
13
------- -----------
14
14
? Help menu
15
- advanced Displays advanced options for one or more modules
16
- back Move back from the current context
17
15
banner Display an awesome metasploit banner
18
16
cd Change the current working directory
19
17
color Toggle color
20
18
connect Communicate with a host
21
- edit Edit the current module with $VISUAL or $EDITOR
22
19
exit Exit the console
23
20
get Gets the value of a context-specific variable
24
21
getg Gets the value of a global variable
25
22
grep Grep the output of another command
26
23
help Help menu
27
- info Displays information about one or more modules
28
24
irb Drop into irb scripting mode
29
- jobs Displays and manages jobs
30
- kill Kill a job
31
25
load Load a framework plugin
32
- loadpath Searches for and loads modules from a path
33
- makerc Save commands entered since start to a file
34
- options Displays global options or for one or more modules
35
- popm Pops the latest module off the stack and makes it active
36
- previous Sets the previously loaded module as the current module
37
- pushm Pushes the active or list of modules onto the module stack
38
26
quit Exit the console
39
- reload_all Reloads all modules from all defined module paths
40
- rename_job Rename a job
41
- resource Run the commands stored in a file
42
27
route Route traffic through a session
43
28
save Saves the active datastores
44
- search Searches module names and descriptions
45
29
sess Interact with a given session
46
30
sessions Dump session listings and display information about sessions
47
31
set Sets a context-specific variable to a value
48
32
setg Sets a global variable to a value
49
- show Displays modules of a given type, or all modules
50
33
sleep Do nothing for the specified number of seconds
51
34
spool Write console output into a file as well the screen
52
35
threads View and manipulate background threads
53
36
unload Unload a framework plugin
54
37
unset Unsets one or more context-specific variables
55
38
unsetg Unsets one or more global variables
56
- use Selects a module by name
57
39
version Show the framework and console library version numbers
58
40
59
41
42
+ Module Commands
43
+ ===============
44
+
45
+ Command Description
46
+ ------- -----------
47
+ advanced Displays advanced options for one or more modules
48
+ back Move back from the current context
49
+ edit Edit the current module with $VISUAL or $EDITOR
50
+ info Displays information about one or more modules
51
+ loadpath Searches for and loads modules from a path
52
+ options Displays global options or for one or more modules
53
+ popm Pops the latest module off the stack and makes it active
54
+ previous Sets the previously loaded module as the current module
55
+ pushm Pushes the active or list of modules onto the module stack
56
+ reload_all Reloads all modules from all defined module paths
57
+ search Searches module names and descriptions
58
+ show Displays modules of a given type, or all modules
59
+ use Selects a module by name
60
+
61
+
62
+ Job Commands
63
+ ============
64
+
65
+ Command Description
66
+ ------- -----------
67
+ jobs Displays and manages jobs
68
+ kill Kill a job
69
+ rename_job Rename a job
70
+
71
+
72
+ Resource Script Commands
73
+ ========================
74
+
75
+ Command Description
76
+ ------- -----------
77
+ makerc Save commands entered since start to a file
78
+ resource Run the commands stored in a file
79
+
80
+
60
81
Database Backend Commands
61
82
=========================
62
83
0 commit comments