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