Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » obfuscation
obfuscation [message #505313] Tue, 29 December 2009 09:42 Go to next message
Eclipse UserFriend
Hi,
I try to find an obfuscator to obfuscate a jar file, and I found Alltori that seems very easy to use.
I did what I had to do according to their first step - I obfuscated a jar file of mine.
The problem is that I can open it with DJ Java Decompiler. Make sence ?
Re: obfuscation [message #505372 is a reply to message #505313] Tue, 29 December 2009 21:48 Go to previous messageGo to next message
Eclipse UserFriend
moshi wrote:
> Hi, I try to find an obfuscator to obfuscate a jar file, and I found
> Alltori that seems very easy to use. I did what I had to do according to
> their first step - I obfuscated a jar file of mine. The problem is that
> I can open it with DJ Java Decompiler. Make sence ?

I'm not sure why this has anything to do with Eclipse; probably you should ask
on a general Java discussion forum, or on the Alltori discussion forum (I
presume there is one).

However, just to make sure you understand what obfuscation can and cannot do:
obfuscated Java bytecode is still bytecode, so JAD will still be able to
decompile it. If it weren't, then you couldn't execute it in the VM. It's not
*encrypted*, it's just *obfuscated*. There is a nice discussion of this at
http://www.excelsior-usa.com/articles/java-obfuscators.html . Typically,
variable and method names may be changed (but not references to non-obfuscated
classes, such as those in the Java runtimes), and some minor amount of flow
control may be changed (e.g., loops unrolled, conditions reversed).
Re: obfuscation [message #505379 is a reply to message #505372] Tue, 29 December 2009 21:47 Go to previous messageGo to next message
Eclipse UserFriend
Hello friends, thanks for your help.
I had mistake about Alltori - it abfuscates the class files not the java files.
My problem now is how to execute a jar out of my project, that will contain .class files instead of .java files.
If anyone knows how to do it using eclipse, I'll be glad to here.
Re: obfuscation [message #505383 is a reply to message #505313] Tue, 29 December 2009 22:51 Go to previous message
Eclipse UserFriend
Hi,
I found how to execute jar without the .java files. Thanks.
about the pswrd, I won't make it hard coded.
Thanks.
Previous Topic:debug hibernate's cglib collections?
Next Topic:Eclipse crashes when I launch the 2nd java app
Goto Forum:
  


Current Time: Mon Mar 24 23:41:40 EDT 2025

Powered by FUDForum. Page generated in 0.03860 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top