We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b5d5998 + 20c5e08 commit 496de17Copy full SHA for 496de17
msfvenom
@@ -97,6 +97,10 @@ def parse_args
97
opts[:list_options] = true
98
end
99
100
+ opt.on('-d', '--advance', 'List the payload\'s advance options') do
101
+ opts[:list_advance] = true
102
+ end
103
+
104
opt.on_tail('-h', '--help', 'Show this message') do
105
$stderr.puts opt
106
exit(1)
@@ -338,6 +342,11 @@ if opts[:list_options]
338
342
exit
339
343
340
344
345
+if opts[:list_advance]
346
+ puts Msf::Serializer::ReadableText.dump_advanced_options(payload)
347
+ exit
348
+end
349
341
350
if payload_raw.nil? or payload_raw.empty?
351
begin
352
payload_raw = payload.generate_simple(
0 commit comments