Skip to content

Commit 8ec0aa0

Browse files
committed
Land 4006, msfcli support for show actions
2 parents b866983 + 6ffe080 commit 8ec0aa0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

msfcli

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class Msfcli
4949
tbl << ['(I)DS Evasion', 'Show available ids evasion options for this module']
5050
tbl << ['(P)ayloads', 'Show available payloads for this module']
5151
tbl << ['(T)argets', 'Show available targets for this exploit module']
52-
tbl << ['(AC)tions', 'Show available actions for this auxiliary module']
52+
tbl << ['(AC)tions', 'Show available actions for this module']
5353
tbl << ['(C)heck', 'Run the check routine of the selected module']
5454
tbl << ['(E)xecute', 'Execute the selected module']
5555

@@ -513,7 +513,7 @@ class Msfcli
513513
show_targets(modules)
514514
end
515515
when "ac"
516-
if modules[:module].file_path =~ /auxiliary\//i
516+
if modules[:module].kind_of?(Msf::Module::HasActions)
517517
show_actions(modules)
518518
else
519519
$stdout.puts("\nError: This type of module does not support actions")

0 commit comments

Comments
 (0)