![]() |
|
[Java] Obfuscate a Java file - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [Java] Obfuscate a Java file (/showthread.php?tid=6084934) |
Obfuscate a Java file - SIM-3281006 - Jun 5, 2020 Please how do I obfuscate a java file... who can help? RE: Obfuscate a Java file - Nachfolger - Jun 5, 2020 Good question. I think you can base64 encode it then no one will be able to hack you. RE: Obfuscate a Java file - SIM-3281006 - Jun 5, 2020 (Jun 5, 2020 03:14 PM)Nachfolger Wrote: Good question. I think you can base64 encode it then no one will be able to hack you. Ok, thanks. Can you give assistance? RE: Obfuscate a Java file - GenericSkid - Jun 5, 2020 Use an obfuscator: https://github.com/GenericException/SkidSuite/blob/master/obfuscation.md Unless you mean the source file. You can do something like this: PHP Code The first escape is the unicode escape for the newline character. The rest of the escapes represent the rest of your source code. Since javac will replace these escapes you can make a comment "executable" with this trick. RE: Obfuscate a Java file - SIM-3281006 - Jun 6, 2020 (Jun 5, 2020 05:23 PM)GenericSkid Wrote: Use an obfuscator: https://github.com/GenericException/SkidSuite/blob/master/obfuscation.md Thanks but I'm not good in codes... |