diff --git a/src/webattack/java_applet/unsigned.py b/src/webattack/java_applet/unsigned.py index 74dcf33b1..d99046956 100644 --- a/src/webattack/java_applet/unsigned.py +++ b/src/webattack/java_applet/unsigned.py @@ -7,6 +7,7 @@ import os subprocess.Popen("rm Java_Update.jar", stderr=subprocess.PIPE, stdout=subprocess.PIPE, shell=True) subprocess.Popen("rm Java.class", stderr=subprocess.PIPE, stdout=subprocess.PIPE, shell=True) subprocess.Popen("javac Java.java", shell=True).wait() +subprocess.Popen("cp Java_Update.jar ../../html/unsigned/unsigned.jar", shell=True) subprocess.Popen("jar cvf Java_Update.jar Java.class", shell=True).wait() subprocess.Popen("jar ufm Java_Update.jar manifest.mf", shell=True).wait() print "[*] Jar file exported as Java_Update.jar"