Remove overzealous change for 1.9.1 compat

git-svn-id: file:///home/svn/framework3/trunk@6697 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2009-06-22 13:22:50 +00:00
parent 66a6bfe9c0
commit d0fe4e8610
7 changed files with 7 additions and 7 deletions

View File

@ -141,7 +141,7 @@ class Metasploit3 < Msf::Exploit::Remote
result = ""
whitespace = ""
str.each_byte do |b|
result << whitespace << "%02x" % b.unpack("C*")[0]
result << whitespace << "%02x" % b
whitespace = " " * (rand(3) + 1)
end
result << ">"

View File

@ -177,7 +177,7 @@ class Metasploit3 < Msf::Exploit::Remote
result = ""
whitespace = ""
str.each_byte do |b|
result << whitespace << "%02x" % b.unpack("C*")[0]
result << whitespace << "%02x" % b
whitespace = " " * (rand(3) + 1)
end
result << ">"

View File

@ -137,7 +137,7 @@ class Metasploit3 < Msf::Exploit::Remote
result = ""
whitespace = ""
str.each_byte do |b|
result << whitespace << "%02x" % b.unpack("C*")[0]
result << whitespace << "%02x" % b
whitespace = " " * (rand(3) + 1)
end
result << ">"

View File

@ -133,7 +133,7 @@ class Metasploit3 < Msf::Exploit::Remote
result = ""
whitespace = ""
str.each_byte do |b|
result << whitespace << "%02x" % b.unpack("C*")[0]
result << whitespace << "%02x" % b
whitespace = " " * (rand(3) + 1)
end
result << ">"

View File

@ -136,7 +136,7 @@ class Metasploit3 < Msf::Exploit::Remote
result = ""
whitespace = ""
str.each_byte do |b|
result << whitespace << "%02x" % b.unpack("C*")[0]
result << whitespace << "%02x" % b
whitespace = " " * (rand(3) + 1)
end
result << ">"

View File

@ -169,7 +169,7 @@ class Metasploit3 < Msf::Exploit::Remote
result = ""
whitespace = ""
str.each_byte do |b|
result << whitespace << "%02x" % b.unpack("C*")[0]
result << whitespace << "%02x" % b
whitespace = " " * (rand(3) + 1)
end
result << ">"

View File

@ -130,7 +130,7 @@ class Metasploit3 < Msf::Exploit::Remote
result = ""
whitespace = ""
str.each_byte do |b|
result << whitespace << "%02x" % b.unpack("C*")[0]
result << whitespace << "%02x" % b
whitespace = " " * (rand(3) + 1)
end
result << ">"