handle actions correctly

git-svn-id: file:///home/svn/framework3/trunk@4386 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Matt Miller 2007-02-15 07:33:40 +00:00
parent 3416375c72
commit 38a454c410
1 changed files with 3 additions and 3 deletions

6
msfcli
View File

@ -30,8 +30,8 @@ def usage (str = nil, extra = nil)
tbl << ['(A)dvanced', 'Show available advanced options for this module'] tbl << ['(A)dvanced', 'Show available advanced options for this module']
tbl << ['(I)DS Evasion', 'Show available ids evasion options for this module'] tbl << ['(I)DS Evasion', 'Show available ids evasion options for this module']
tbl << ['(P)ayloads', 'Show available payloads for this module'] tbl << ['(P)ayloads', 'Show available payloads for this module']
tbl << ['(T)argets', 'Show available targets for this module'] tbl << ['(T)argets', 'Show available targets for this exploit module']
tbl << ['(A)ctions', 'Show available targets for this module'] tbl << ['(AC)tions', 'Show available actions for this auxiliary module']
tbl << ['(C)heck', 'Run the check routine of the selected module'] tbl << ['(C)heck', 'Run the check routine of the selected module']
tbl << ['(E)xecute', 'Execute the selected module'] tbl << ['(E)xecute', 'Execute the selected module']
@ -123,7 +123,7 @@ case mode.downcase
else else
$stdout.puts("\nError: This type of module does not support targets") $stdout.puts("\nError: This type of module does not support targets")
end end
when "a" when "ac"
if (module_class == 'auxiliary') if (module_class == 'auxiliary')
$stdout.puts("\n" + Msf::Serializer::ReadableText.dump_auxiliary_actions(exploit, Indent)) $stdout.puts("\n" + Msf::Serializer::ReadableText.dump_auxiliary_actions(exploit, Indent))
else else