File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
lib/msf/ui/console/command_dispatcher Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2009,7 +2009,7 @@ def cmd_set_tabs(str, words)
2009
2009
res << 'ENCODER'
2010
2010
end
2011
2011
2012
- if ( mod . auxiliary? )
2012
+ if ( mod . auxiliary? or mod . post? )
2013
2013
res << "ACTION"
2014
2014
end
2015
2015
@@ -2721,8 +2721,8 @@ def tab_complete_option(str, words)
2721
2721
return option_values_encoders ( ) if opt . upcase == 'StageEncoder'
2722
2722
end
2723
2723
2724
- # Well-known option names specific to auxiliaries
2725
- if ( mod . auxiliary? )
2724
+ # Well-known option names specific to auxiliaries and posts
2725
+ if ( mod . auxiliary? or mod . post? )
2726
2726
return option_values_actions ( ) if opt . upcase == 'ACTION'
2727
2727
end
2728
2728
@@ -2869,7 +2869,7 @@ def option_values_targets
2869
2869
2870
2870
2871
2871
#
2872
- # Provide valid action options for the current auxiliary module
2872
+ # Provide valid action options for the current module
2873
2873
#
2874
2874
def option_values_actions
2875
2875
res = [ ]
You can’t perform that action at this time.
0 commit comments