Add the NULL byte to the list of valid chars

While rare, I guess it is a possibility that the NULL byte can be
used.
bug/bundler_fix
OJ 2014-02-17 16:40:56 +10:00
parent e134ec4691
commit b2d09ed0d1
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ class Metasploit3 < Msf::Encoder
when 'FILEPATH'
char_set = CHAR_SET_FILEPATH
else
for i in 1 .. 255
for i in 0 .. 255
char_set += i.chr.to_s
end
end