The technology is not very difficult, but it is very harmful to this software. This is what I found this summer. I am not interested in information security. (I 'd like to explain in detail) Smartfoxserver2x is a European software. I don't know if you will accept it. This is an online game server. This year, we helped a small company create an online game and study the online game server. How to obtain a valid license file? First, the technical difficulty of java software is low because it can be decompiled into complete source code. I'm glad to see this situation. In this way, I can at least know a decryption algorithm. But... When I open this file .. In this case, we won the software that decrypts the file. I checked it out, probably using a scale technology. At that time, I learned nothing about it. Net look at some Chinese people who say how to encrypt java with this technology. Everyone has a strong learning base. Continue to read the code. Find a class. The mysterious things also have to run in the virtual machine at last, just like the amazing shells have to be decompressed and run. In the figure, we can see that the following method to decrypt the sfs2x-lms.jar is private, but the above call is indeed public. OK to start writing code. OK, generates a sfs2s-lms.jar file that can be opened. I have to say that the naming of foreign counterparts is really very standard, so I am saving a lot of time to read and analyze code. OK.
Solution:According to many Daniel, this encryption is a trend in java, but the Code must be well written.