Add cmd dispatch options -S and -P, msfvenom --sec-name

GSoC/Meterpreter_Web_Console
7043mcgeep 2019-02-13 14:53:56 -06:00
parent 5151473e09
commit 53143d57af
No known key found for this signature in database
GPG Key ID: F35B7B6637830426
1 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ def parse_args(args)
opts[:encoder] = e opts[:encoder] = e
end end
opt.on('--sec-name <value>', String, 'The new section name to use when generating Windows binaries. Default: random 4-character alpha string') do |s| opt.on('--sec-name <value>', String, 'The new section name to use when generating large Windows binaries. Default: random 4-character alpha string') do |s|
opts[:secname] = s opts[:secname] = s
end end
@ -138,7 +138,7 @@ def parse_args(args)
opts[:nops] = n.to_i opts[:nops] = n.to_i
end end
opt.on('--pad-nops', 'Use nopsled size specified by -n <length> as the total payload size, thus performing a subtraction to prepend a nopsled of quantity (nops minus payload length)') do opt.on('--pad-nops', 'Use nopsled size specified by -n <length> as the total payload size, auto-prepending a nopsled of quantity (nops minus payload length)') do
opts[:padnops] = true opts[:padnops] = true
end end