The pits stepped on by using the decompilation tool jd-gui

Background: The production has been packaged. It is a war package. Package comparison is required. The comparison tool is Beyond Compare. Please search separately for how to use it. I need to compare the upcoming version with the production code.

Process: Put the war package directly into jd-gui, it is invalid. After checking it, I need to change the suffix of the war package to .zip, and then decompress it . After decompression, I can’t find what I want in the directory. class directory.

Pit: I forgot the knowledge I learned in college. In order to ensure the security of the code, it is necessary to place the class file in the WEB-INF directory. In the WEB-INF directory, there is a classes file, and all class files are placed in the here .

Guess you like

Origin blog.csdn.net/mnimxq/article/details/122847845