File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ class Msfcli
49
49
tbl << [ '(I)DS Evasion' , 'Show available ids evasion options for this module' ]
50
50
tbl << [ '(P)ayloads' , 'Show available payloads for this module' ]
51
51
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' ]
53
53
tbl << [ '(C)heck' , 'Run the check routine of the selected module' ]
54
54
tbl << [ '(E)xecute' , 'Execute the selected module' ]
55
55
@@ -513,7 +513,7 @@ class Msfcli
513
513
show_targets ( modules )
514
514
end
515
515
when "ac"
516
- if modules [ :module ] . file_path =~ /auxiliary \/ /i
516
+ if modules [ :module ] . kind_of? ( Msf :: Module :: HasActions )
517
517
show_actions ( modules )
518
518
else
519
519
$stdout. puts ( "\n Error: This type of module does not support actions" )
You can’t perform that action at this time.
0 commit comments