Jump to content

Question

Posted (edited)

Hello. I would like to hide parts of server .java files (like AuthLogin.java, L2PacketHandler.java) etc to prevent them from being read by devs. They are parts of my antibot, the server owner sends me few java files and i return them modified so they can work with protected client on user's computer. I've seen lameguard, they got only 1 .jar file. How to do such thing?

Edited by Szakalaka

7 answers to this question

Recommended Posts

  • 0
Posted

Hello. I would like to hide parts of server .java files (like AuthLogin.java, L2PacketHandler.java) etc to prevent them from being read by devs. They are parts of my antibot, the server owner sends me few java files and i return them modified so they can work with protected client on user's computer. I've seen lameguard, they got only 1 .jar file. How to do such thing?

You should make a Jar(obfuscate it too), but you need to know that it still will be possible to see the code(just like i can see the code of lameguard).

 

To create new Jar ,you need to create new Ant Build file. Example: http://pastebin.com/KuWDU47B

Obfuscation - https://en.wikipedia.org/wiki/Obfuscation_(software)

  • 0
Posted

Sorry guys but im c++ and asm coder :) I created the java server side because every language is similar, but i dont have knowledge on technical things in java, so i asked here

  • 0
Posted

http://proguard.sourceforge.net/makes it for you, but you have to be aware than any bug report will be obfuscated too. But ProGuard can generate a des-obfuscator in order to read such report.

 

There's no other option than obfuscation, from my knowledge.

  • 0
Posted

http://proguard.sourceforge.net/makes it for you, but you have to be aware than any bug report will be obfuscated too. But ProGuard can generate a des-obfuscator in order to read such report.

 

There's no other option than obfuscation, from my knowledge.

its a choise but, mutating a package which is not only self used might cause read problems.

  • 0
Posted

its a choise but, mutating a package which is not only self used might cause read problems.

You have to track down external method calls for sure, and it can be painful if there are a lot.

  • 0
Posted

Well, is it possible to create own package and insert there modified files and somehow tell the compiler to use my files instead of the original ones from project?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...