File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lib/msf/ui/console/command_dispatcher Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3144,9 +3144,9 @@ def show_options(mod) # :nodoc:
3144
3144
if ( mod . exploit? and mod . target )
3145
3145
mod_targ = Serializer ::ReadableText . dump_exploit_target ( mod , ' ' )
3146
3146
print ( "\n Exploit target:\n \n #{ mod_targ } \n " ) if ( mod_targ and mod_targ . length > 0 )
3147
- elsif ( ( mod . auxiliary? or mod . post? ) and mod . action )
3147
+ elsif mod . kind_of? ( Msf :: Module :: HasActions )
3148
3148
mod_action = Serializer ::ReadableText . dump_auxiliary_action ( mod , ' ' )
3149
- print ( "\n #{ mod . auxiliary? ? 'Auxiliary' : 'Post' } action:\n \n #{ mod_action } \n " ) if ( mod_action and mod_action . length > 0 )
3149
+ print ( "\n #{ mod . type . capitalize } action:\n \n #{ mod_action } \n " ) if ( mod_action and mod_action . length > 0 )
3150
3150
end
3151
3151
3152
3152
# Uncomment this line if u want target like msf2 format
You can’t perform that action at this time.
0 commit comments