Land #10493, update help for show and search commands
parent
ec71347283
commit
fb042469df
|
@ -335,7 +335,7 @@ module Msf
|
||||||
'platform' => 'Modules affecting this platform',
|
'platform' => 'Modules affecting this platform',
|
||||||
'port' => 'Modules with a matching port',
|
'port' => 'Modules with a matching port',
|
||||||
'ref' => 'Modules with a matching ref',
|
'ref' => 'Modules with a matching ref',
|
||||||
'type' => 'Modules of a specific type (exploit, payload, auxiliary, or post)',
|
'type' => 'Modules of a specific type (exploit, payload, auxiliary, encoder, post, or nop)',
|
||||||
}.each_pair do |keyword, description|
|
}.each_pair do |keyword, description|
|
||||||
print_line " #{keyword.ljust 10}: #{description}"
|
print_line " #{keyword.ljust 10}: #{description}"
|
||||||
end
|
end
|
||||||
|
@ -415,7 +415,7 @@ module Msf
|
||||||
end
|
end
|
||||||
|
|
||||||
def cmd_show_help
|
def cmd_show_help
|
||||||
global_opts = %w{all encoders nops exploits payloads auxiliary plugins info options}
|
global_opts = %w{all encoders nops exploits payloads auxiliary post plugins info options}
|
||||||
print_status("Valid parameters for the \"show\" command are: #{global_opts.join(", ")}")
|
print_status("Valid parameters for the \"show\" command are: #{global_opts.join(", ")}")
|
||||||
|
|
||||||
module_opts = %w{ missing advanced evasion targets actions }
|
module_opts = %w{ missing advanced evasion targets actions }
|
||||||
|
|
Loading…
Reference in New Issue