Thread: java cracking
View Single Post
Old 11-29-2013, 11:59
0xd0000 0xd0000 is offline
Join Date: Nov 2013
Posts: 49
Rept. Given: 3
Rept. Rcvd 36 Times in 14 Posts
Thanks Given: 8
Thanks Rcvd at 20 Times in 11 Posts
0xd0000 Reputation: 36
My approach and personal favorites when approaching a Java Patch.

Use JD Gui to find what you¡¯re looking for and eventually JBE to patch, a recursive decompile with JAD and clear text search sometimes helps. JAD decompile can be done with cmd below. If you have multiple jars, just extract everything, then run the decompile.

JAD Recursive Decompile: for /R %F in (*.class) do jad -r -ff -s java %F

JD Gui - Must have, will allow full exploration of .JAR, as well as export of source.

JBE - Java Bytecode Editor can be used to patch whatever bytecode you desire, modifying the class directly without having to recompile. Will require more than a basic understanding of Java bytecode to use this effectively.

Once you have the patched .class you can simply just drop it back into the .jar with WinRar, or if you are working on a standalone .class then your basically done.

Hope this helps, patching Java can be interesting, especially ones that have string encryption functions.

I don't have direct links for these tuts, but they are pretty good, I will get them uploaded later.

Last edited by 0xd0000; 11-29-2013 at 12:07. Reason: Update--
Reply With Quote
The Following User Says Thank You to 0xd0000 For This Useful Post:
Indigo (07-19-2019)