From 64a478c41b271bcc6ab9173d8db500d83ae6d102 Mon Sep 17 00:00:00 2001 From: Jeffrey Martin Date: Mon, 26 Mar 2018 11:19:57 -0500 Subject: [PATCH] fix -b as only options when calling msfvenom --- msfvenom | 1 + 1 file changed, 1 insertion(+) 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