just some notes for later on how to decompile a jar file
first unzip the .jar
cg$ unzip javatest3.jar
Archive: javatest3.jar
creating: META-INF/
inflating: META-INF/MANIFEST.MF
inflating: SiteError.class
inflating: evil.class
...
from there use jad to decompile
cg$ ./jad -r -ff -s java javatest/SiteError.class Parsing javatest/SiteError.class... Generating SiteError.java
thats it, now you can read the code.
Tuesday, April 13, 2010
Subscribe to:
Post Comments (Atom)
2 comments:
(Scratch prev comment)
Since jad doesn't support directory recursion (yet?):
find javatest -name "*.class" -exec ./jad -r -ff -s java {} \;
You can use jd-gui Decompiling full Jar package.
Post a Comment