Practical tools (4): Java source code encryption tool (Allatori)

15981791:

1. Introduction to Allatori

        Allatori is a second-generation Java obfuscator that provides comprehensive protection for your intellectual property.
        While most second-generation obfuscators offer a level of protection worthwhile, we've developed a number of additional features into Allatori to make reverse engineering the code nearly impossible. Allatori doesn't just obfuscate, it minimizes application size and increases speed, all while making your code unreadable to you and anyone but your team. As every modern Java obfuscator, Allatori has full watermarking capabilities, making it possible to properly license your software! If it is necessary to protect your software and to reduce its size and processing time, you can use the Allatori obfuscator.

2. Description of Allatori file structure

 Combined with the official downloads and required files, only files numbered 1~5 are actually useful.

3. Write test code and use tools to decompile

 4. Modify config.xml After using the tool to encrypt the code, edit the configuration file

insert image description here

 

 5. After modifying the configuration file, run in order, 1—>2, copy the jar that needs to be encrypted, and then run 2

6. Run the bat script file to generate confusing Jar and generate any key.

7. It can be seen from the file after running the script that the encrypted Jar is the name specified by the configuration file  


8. Use tools to decompile and view the encrypted Jar

 

 Nine, there may be abnormal problems

1. '' does not distinguish the dependent packages of the Pom file, does not use file confusion, and avoids being unable to find the application class, resulting in the occurrence of ClassNotFoundException at runtime

eg1: The screenshot is as follows

java -cp original-wunanliu-1.0-SNAPSHOT_JiaMi.jar Runner

 solution:

rerun the script

 After finishing the tool download link:

https://download.csdn.net/download/weixin_43192102/88070986

Guess you like

Origin blog.csdn.net/weixin_43192102/article/details/131852181