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?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..