metasploit-framework/external/source/exploits/cve-2013-0431/Makefile

23 lines
463 B
Makefile
Raw Normal View History

2013-02-20 15:39:53 +00:00
# rt.jar must be in the classpath!
CLASSES = \
Exploit.java \
2013-02-21 12:44:37 +00:00
B.java \
Serializer.java
2013-02-20 15:39:53 +00:00
.SUFFIXES: .java .class
.java.class:
2013-02-21 12:44:37 +00:00
javac -source 1.2 -target 1.2 -cp "../../../../data/java:." $*.java
2013-02-20 15:39:53 +00:00
all: $(CLASSES:.java=.class)
install:
2013-02-21 12:44:37 +00:00
java Serializer
2013-02-20 15:39:53 +00:00
mv Exploit.class ../../../../data/exploits/cve-2013-0431/
mv B.class ../../../../data/exploits/cve-2013-0431/
2013-02-21 12:44:37 +00:00
mv Exploit.ser ../../../../data/exploits/cve-2013-0431/
2013-02-20 15:39:53 +00:00
clean:
rm -rf *.class
2013-02-21 12:44:37 +00:00
rm -rf *.ser