Fix directory name on ruby

bug/bundler_fix
jvazquez-r7 2013-08-15 22:54:31 -05:00
parent 795ad70eab
commit 1a3b4eebdb
1 changed files with 3 additions and 3 deletions

View File

@ -71,11 +71,11 @@ class Metasploit3 < Msf::Exploit::Remote
end end
def setup def setup
path = File.join(Msf::Config.install_root, "data", "exploits", "CVE-2013-3465", "Exploit.class") path = File.join(Msf::Config.install_root, "data", "exploits", "CVE-2013-2465", "Exploit.class")
@exploit_class = File.open(path, "rb") {|fd| fd.read(fd.stat.size) } @exploit_class = File.open(path, "rb") {|fd| fd.read(fd.stat.size) }
path = File.join(Msf::Config.install_root, "data", "exploits", "CVE-2013-3465", "Exploit$MyColorModel.class") path = File.join(Msf::Config.install_root, "data", "exploits", "CVE-2013-2465", "Exploit$MyColorModel.class")
@color_model_class = File.open(path, "rb") {|fd| fd.read(fd.stat.size) } @color_model_class = File.open(path, "rb") {|fd| fd.read(fd.stat.size) }
path = File.join(Msf::Config.install_root, "data", "exploits", "CVE-2013-3465", "Exploit$MyColorSpace.class") path = File.join(Msf::Config.install_root, "data", "exploits", "CVE-2013-2465", "Exploit$MyColorSpace.class")
@color_space_class = File.open(path, "rb") {|fd| fd.read(fd.stat.size) } @color_space_class = File.open(path, "rb") {|fd| fd.read(fd.stat.size) }
@exploit_class_name = rand_text_alpha("Exploit".length) @exploit_class_name = rand_text_alpha("Exploit".length)