security - 批量对java源代码进行反编译 jd-cli decompile jar by batch

访问量: 32

参考:https://stackoverflow.com/questions/1384619/batch-decompiling-of-java-files-with-jd-gui/66668731#66668731

下面是我的回答:

JD-GUI has the ability to batch export class files into .java file, zipped in a jar file.

however, this feature is not controlled by command line, but mouse clicking, this is not stable and sometimes will be stuck.

You can use jd-cli ( https://github.com/kwart/jd-cli/releases/tag/jd-cli-1.2.0 ).

prepare your .jar file (containing classes )
input: jd-cli target.jar -od jar_result -g ALL

and you will get a zipped java source code file.

订阅/RSS Feed

Subscribe