Include module name in advanced options output
parent
0091a05fa6
commit
377017a2d5
|
@ -3551,7 +3551,8 @@ class Core
|
||||||
|
|
||||||
def show_advanced_options(mod) # :nodoc:
|
def show_advanced_options(mod) # :nodoc:
|
||||||
mod_opt = Serializer::ReadableText.dump_advanced_options(mod, ' ')
|
mod_opt = Serializer::ReadableText.dump_advanced_options(mod, ' ')
|
||||||
print("\nModule advanced options:\n\n#{mod_opt}\n") if (mod_opt and mod_opt.length > 0)
|
print("\nModule options (#{mod.fullname}):\n\n#{mod_opt}\n") if (mod_opt and mod_opt.length > 0)
|
||||||
|
print("\nModule advanced options (#{mod.fullname}):\n\n#{mod_opt}\n") if (mod_opt and mod_opt.length > 0)
|
||||||
|
|
||||||
# If it's an exploit and a payload is defined, create it and
|
# If it's an exploit and a payload is defined, create it and
|
||||||
# display the payload's options
|
# display the payload's options
|
||||||
|
|
Loading…
Reference in New Issue