So, you got a jar file then how to decompile it? Here how to do it.
First we have to extract jar file with these command:
jar xf file.jar
As results, it will append .class files along with META-INF folder. As our objective to get information within the file. Next step, we need to inspect the .class but some of the content is unreadable. For that we need to use javap which will disassembles class file turn it into human readable form.
javap -c file.class
Booyah!! Alternatively you can use JD-Gui to decompile .jar file.
First we have to extract jar file with these command:
jar xf file.jar
As results, it will append .class files along with META-INF folder. As our objective to get information within the file. Next step, we need to inspect the .class but some of the content is unreadable. For that we need to use javap which will disassembles class file turn it into human readable form.
javap -c file.class
Booyah!! Alternatively you can use JD-Gui to decompile .jar file.
Comments
Post a Comment