Reflexible Class

xiaoxiao2021-04-03  281

Step1: Download JAD1.5.8E

Download address http://www.kpdus.com/jad.html#download

After downloading, decompression. After decompression, copy JAD.exe to the bin directory of JRE, such as /java/jre1.5.0_06/bin

Step2: Configure your system's Java environment, which is to add your JRE path in Path what is ... (This is still not understanding ?? Google Go to the search, big put a lot)

Step3: Open the command line to switch the directory to the directory you want to crack. For example: I want to crack a file called Example.class, it is in E: / Workspaces /, then I will enter the CD E: / Workspaces / Enter.

Start "off"!:

Referior to compile the Class file of a single Java language, enter: JAD EXAMPLE.CLASS Enter.

After you have an example.jad file with your current directory! You can read it to Java! (You can ignore .class suffix)

Options -s Allows you to change the suffix of the output file.

Jad -sjava eXample.class

This command generates file 'example.java'. Be careful when you use option -o and -sjava, because JAD will cover your source files unexpectedly.

JAD uses Java's Class file name as the default output file name. For example, if the class file 'example.class' contains Java's class'test' then JAD will give priority to 'Test.jad'. If you want to specify For your own output file name, please use the redirection:

Jad -p Example.class> myexm.java

Options -d allows you to specify an output file to another folder, this folder creates the default in the current directory. For example:

Jad -o -dtest -sjava * .class

(Or jad -o -d test -s java * .class, the two is the same)

This command refuses to compile all .class files in the current directory and place all output files in the directory 'test' as the suffix.

If you want to compile the entire Java class tree, use the following command:

Jad -o -r -sjava -dsrc tree / ** / *. Class

This command is refreshed all .class files in 'Tree' and subdirectory and establish an output file in the relative subdirectory of the 'src' directory in accordance with the class name. For an example, if file 'Tree / A / B / C .class' contains class' c 'from the package' a.b ', the name of the number of car files is' SRC / A / B / C.Java'.

In case you want to check the accuracy of the output file or just curious, there is a option -a, which allows JAD to add Java Virtual Biographical code as a comment to the output file.

JAD supports internal classes and anonymous classes that automatically skips the matching internal classes when JAD looks into the input file name.

In the UNIX system, JAD skips Internal classes If there is more than one class specified in the command line.

转载请注明原文地址:https://www.9cbs.com/read-131498.html

New Post(0)