Include module name in advanced options output

bug/bundler_fix
Jon Hart 2015-10-30 11:37:24 -07:00
parent 0091a05fa6
commit 377017a2d5
1 changed files with 2 additions and 1 deletions

View File

@ -3551,7 +3551,8 @@ class Core
def show_advanced_options(mod) # :nodoc:
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
# display the payload's options