Use each_char
parent
bf631869a7
commit
a5bed0198a
|
@ -218,7 +218,7 @@ class Metasploit3 < Msf::Nop
|
||||||
INSTRUCTIONS.each do | instruction |
|
INSTRUCTIONS.each do | instruction |
|
||||||
good = true;
|
good = true;
|
||||||
# If the instruction contains some bad chars we wont use it...
|
# 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 )
|
if instruction[I_OP].include?( bc )
|
||||||
good = false
|
good = false
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue