Re: [Jode-users] Use of Jode as a class file obfuscator.
Brought to you by:
hoenicke
|
From: Jochen H. <hoe...@gm...> - 2011-07-16 23:58:13
|
Hello, 2011/7/16 Me Myself and I <sta...@li...>: > I am about to Test Jode on a java .class file, using the demonstration file > > myproject.jos > > > as per the basic tutorial instructions > > Can I now execute this class file straight away? Or am I forced to include > a "de-coding" > lib with some sort of key? It should work. You need to adapt the file myproject.jos, of course. Especially the load and preserve section must match your package names. The load parameter tells which packages and classes the obfuscator should include in the obfuscated code (if needed), and the preserve parameter gives the starting point, usually the main function of the code. Everything that is preserved is not renamed at all. Note that you need to preserve the methods, it is not enough to just preserve a class. > Does my class file still remain cross platform, while my code is consistent, > for seperate Operating System platforms? Yes, as long as you do not use reflection or native code, it should work. If you use reflection, you must be careful to preserve all classes, methods and fields that can be accessed via reflection. > Will my class file, or the result, now confound compilers free off the > internet, such as > -DJ Decompiler > -Java Decompiler > -Jode (Will it stop itself trying to run on ofuscated code in DECOMPILER > mode? No, its main function is to rename all identifiers to short and unreadable names. Normally the code is still decompilable and the decompiled code can be edited and compiled again. All strings are in still in plain text in the class files. However, it is much harder to read for a human as all class names and function names are obfuscated. Regards, Jochen |