Add --service-name option to msfvenom

This commit is contained in:
gwillcox-r7 2020-06-10 14:52:38 -05:00
parent 735dfa417e
commit 0f30e871f6
No known key found for this signature in database
GPG Key ID: D35E05C0F2B81E83
1 changed files with 4 additions and 0 deletions

View File

@ -106,6 +106,10 @@ def parse_args(args)
opts[:encoder] = e
end
opt.on('--service-name <value>', String, 'The service name to use when generating a service binary.') do |s|
opts[:servicename] = s
end
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
end