发新帖

Java逆向基础之反编译器

[复制链接]
8601 0
java反编译
JD-GUI
http://jd.benow.ca/

DJ Java Decompiler
http://www.neshkov.com/dj.html

JADX 安卓jar dex反编译
https://github.com/skylot/jadx

Femflower,是著名 IDE Idea 的反编译器
https://github.com/fesh0r/fernflower

procyon 支持JDK8
https://bitbucket.org/mstrobel/procyon/downloads/

CFR
http://www.benf.org/other/cfr/

Luyten Procyon的GUI版本
https://github.com/deathmarine/Luyten

Krakatau
https://github.com/Storyyeller/Krakatau

各反编译器比较


https://wx4.sinaimg.cn/large/0060lm7Tly1g1gmdi3hxtj30d30ab3yv.jpg

总结一下,一般的低版本的class拖进JD-GUI反编译就可以了,JD-GUI反编译不了的和JDK8的使用procyon/CFR/Femflower
procyon/CFR的反编译命令

[Bash shell] 纯文本查看 复制代码
java -jar procyon-decompiler-0.5.30.jar -jar iMybatis-3.58.jar -o output/java -jar cfr_0_125.jar iMybatis-3.58.jar --outputdir output2/

kotlin反编译
Despector
https://github.com/Despector/Despector
这个先要运行gradlew.bat编译编译之后找lib里面的jar
反编译命令


[Bash shell] 纯文本查看 复制代码
java -jar despector-0.1.0-SNAPSHOT.jar --lang=kotlin  HelloKt.class outkt/




举报 使用道具

回复
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表