From 20c5e089882081dcf8ea2c6d0ed12dcdda7f9945 Mon Sep 17 00:00:00 2001 From: g0tmi1k Date: Thu, 11 Jul 2013 11:39:54 +0100 Subject: [PATCH] msfvenom - Added advance options --- msfvenom | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/msfvenom b/msfvenom index 622445c7ad..0e6af71597 100755 --- a/msfvenom +++ b/msfvenom @@ -97,6 +97,10 @@ def parse_args opts[:list_options] = true end + opt.on('-d', '--advance', 'List the payload\'s advance options') do + opts[:list_advance] = true + end + opt.on_tail('-h', '--help', 'Show this message') do $stderr.puts opt exit(1) @@ -338,6 +342,11 @@ if opts[:list_options] exit end +if opts[:list_advance] + puts Msf::Serializer::ReadableText.dump_advanced_options(payload) + exit +end + if payload_raw.nil? or payload_raw.empty? begin payload_raw = payload.generate_simple(