fix -b as only options when calling msfvenom

GSoC/Meterpreter_Web_Console
Jeffrey Martin 2018-03-26 11:19:57 -05:00
parent b9fc786d24
commit 64a478c41b
No known key found for this signature in database
GPG Key ID: 0CD9BBC2AF15F171
1 changed files with 1 additions and 0 deletions

View File

@ -135,6 +135,7 @@ def parse_args(args)
end
opt.on('-b', '--bad-chars <list>', String, 'The list of characters to avoid example: \'\x00\xff\'') do |b|
require 'rex/text'
opts[:badchars] = Rex::Text.hex_to_raw(b)
end