fix -b as only options when calling msfvenom

This commit is contained in:
Jeffrey Martin
2018-03-26 11:19:57 -05:00
parent b9fc786d24
commit 64a478c41b
+1
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