changed dir names according to CVE

This commit is contained in:
jvazquez-r7 2012-08-28 16:33:01 +02:00
parent 34b12c4f55
commit 363c0913ae
3 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ class Metasploit3 < Msf::Exploit::Remote
jar.add_file(full, '')
end
end
fd = File.open(File.join( Msf::Config.install_root, "data", "exploits", "CVE-2012-XXXX", path ), "rb")
fd = File.open(File.join( Msf::Config.install_root, "data", "exploits", "CVE-2012-4681", path ), "rb")
data = fd.read(fd.stat.size)
jar.add_file(path.join("/"), data)
fd.close