Use each_char

bug/bundler_fix
jvazquez-r7 2015-08-17 11:08:40 -05:00
parent bf631869a7
commit a5bed0198a
No known key found for this signature in database
GPG Key ID: 38D99152B9352D83
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ class Metasploit3 < Msf::Nop
INSTRUCTIONS.each do | instruction |
good = true;
# If the instruction contains some bad chars we wont use it...
badchars.each do | bc |
badchars.each_char do | bc |
if instruction[I_OP].include?( bc )
good = false
break