Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Java 

Obfuscate a Java file

Please how do I obfuscate a java file... who can help?
Good question. I think you can base64 encode it then no one will be able to hack you.
Je t'aime
[Image: fpZ5a5g.png]
(Apr 22, 2022 04:39 PM)-Scrub Wrote:  Jokes on you, I'm not smart enough to know what he's talking about.
(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?
Use an obfuscator: https://github.com/GenericException/Skid...scation.md

Unless you mean the source file. You can do something like this:

PHP Code

<?php 
// just a comment, don't mind me... \uXXXX \uXXXX \uXXXX \uXXXX \uXXXX 

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.
(Jun 5, 2020 05:23 PM)GenericSkid Wrote:  Use an obfuscator: https://github.com/GenericException/Skid...scation.md

Unless you mean the source file. You can do something like this:

PHP Code

<?php 
// just a comment, don't mind me... \uXXXX \uXXXX \uXXXX \uXXXX \uXXXX 

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.

Thanks but I'm not good in codes...


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by ro0tiJun 10, 2025 07:21 PM 0 233 Jun 10, 2025 07:21 PM
Last Post: ro0ti
[C#] by FhackApr 12, 2020 06:39 AM 7 390 Apr 12, 2020 06:39 AM
Last Post: itcorp
[Shell] by fisica638Oct 30, 2019 11:05 AM 1 535 Oct 30, 2019 11:05 AM
Last Post: Hackoo