Sunday, August 26, 2018

RE .jar files

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.


No comments:

Post a Comment

Spliting large pcap into multiple single pcap

Analysing a large size of PCAP is pain in the ass. So, why not we just split it into a multiple files. We can do that with editcap. In this...