unstable
William Vu 2013-07-11 11:56:12 -05:00
parent 20c5e08988
commit abcf34a2e7
1 changed files with 3 additions and 3 deletions

View File

@ -97,8 +97,8 @@ def parse_args
opts[:list_options] = true opts[:list_options] = true
end end
opt.on('-d', '--advance', 'List the payload\'s advance options') do opt.on('-d', '--advanced', 'List the payload\'s advanced options') do
opts[:list_advance] = true opts[:list_advanced] = true
end end
opt.on_tail('-h', '--help', 'Show this message') do opt.on_tail('-h', '--help', 'Show this message') do
@ -342,7 +342,7 @@ if opts[:list_options]
exit exit
end end
if opts[:list_advance] if opts[:list_advanced]
puts Msf::Serializer::ReadableText.dump_advanced_options(payload) puts Msf::Serializer::ReadableText.dump_advanced_options(payload)
exit exit
end end