Change directory names

bug/bundler_fix
jvazquez-r7 2013-08-15 22:52:42 -05:00
parent c5c2aebf15
commit 795ad70eab
6 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@ CLASSES = Exploit.java
all: $(CLASSES:.java=.class)
install:
mv *.class ../../../../data/exploits/jre17u21/
mv *.class ../../../../data/exploits/CVE-2013-3465/
clean:
rm -rf *.class

View File

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