Merge upstrea/master

bug/bundler_fix
OJ 2015-03-30 10:17:17 +10:00
commit 0fa812e5ba
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ class EncodedPayload
def encode def encode
# If the exploit has bad characters, we need to run the list of encoders # If the exploit has bad characters, we need to run the list of encoders
# in ranked precedence and try to encode without them. # in ranked precedence and try to encode without them.
if reqs['BadChars'] or reqs['Encoder'] or reqs['ForceEncode'] if reqs['BadChars'].to_s.length > 0 or reqs['Encoder'] or reqs['ForceEncode']
encoders = pinst.compatible_encoders encoders = pinst.compatible_encoders
# Make sure the encoder name from the user has the same String#encoding # Make sure the encoder name from the user has the same String#encoding