Change directory names
parent
c5c2aebf15
commit
795ad70eab
|
@ -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
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue