From 9205159e7d1e7d5b0c1e7e32e3a08591ca4b635f Mon Sep 17 00:00:00 2001 From: Erin Bleiweiss Date: Tue, 24 Jul 2018 16:43:30 -0500 Subject: [PATCH] update console help documentation --- .../ui/console/command_dispatcher/modules.rb | 31 ++++++++++++------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/lib/msf/ui/console/command_dispatcher/modules.rb b/lib/msf/ui/console/command_dispatcher/modules.rb index 74ed5d48bf..caa838a4da 100644 --- a/lib/msf/ui/console/command_dispatcher/modules.rb +++ b/lib/msf/ui/console/command_dispatcher/modules.rb @@ -326,18 +326,27 @@ module Msf print_line print_line "Keywords:" { - 'app' => 'Modules that are client or server attacks', - 'author' => 'Modules written by this author', - 'bid' => 'Modules with a matching Bugtraq ID', - 'cve' => 'Modules with a matching CVE ID', - 'edb' => 'Modules with a matching Exploit-DB ID', - 'name' => 'Modules with a matching descriptive name', - 'platform' => 'Modules affecting this platform', - 'port' => 'Modules with a matching port', - 'ref' => 'Modules with a matching ref', - 'type' => 'Modules of a specific type (exploit, auxiliary, or post)', + 'app' => 'Modules that are client or server attacks', + 'author' => 'Modules written by this author', + 'arch' => 'Modules affecting this architecture', + 'bid' => 'Modules with a matching Bugtraq ID', + 'cve' => 'Modules with a matching CVE ID', + 'edb' => 'Modules with a matching Exploit-DB ID', + 'date' => 'Modules with a matching disclosure date', + 'description' => 'Modules with a matching description', + 'full_name' => 'Modules with a matching full name', + 'mod_time' => 'Modules with a matching modification date', + 'name' => 'Modules with a matching descriptive name', + 'path' => 'Modules with a matching path', + 'platform' => 'Modules affecting this platform', + 'port' => 'Modules with a matching port', + 'rank' => 'Modules with a matching rank (Can be descriptive (ex: \'good\') or numeric with comparison operators (ex: \'gte400\'))', + 'ref' => 'Modules with a matching ref', + 'reference' => 'Modules with a matching reference', + 'target' => 'Modules affecting this target', + 'type' => 'Modules of a specific type (exploit, auxiliary, or post)', }.each_pair do |keyword, description| - print_line " #{keyword.ljust 10}: #{description}" + print_line " #{keyword.ljust 12}: #{description}" end print_line print_line "Examples:"