平方X

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 1655|回复: 0

Java反编译-Fernflower

[复制链接]

414

主题

709

帖子

3605

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
3605
QQ
发表于 2017-10-10 15:55:25 | 显示全部楼层 |阅读模式
[md]

使用 AndroidStudio 的时候发现反编译用的 Fernflower,搜了一下。  
找到[FernFlower - CLI Java Decompiler](http://the.bytecode.club/showthread.php?tid=5)  
[github 开源](https://github.com/JetBrains/int ... ins/java/decompiler)  
[gui](https://github.com/Konloch/bytecode-viewer/releases)

```
Fernflower is an easy to use yet advanced cli Java decompiler.

Download, READ THIS!

FernFlower has recently become open sourced, you can view the repo at https://github.com/JetBrains/intellij-co...decompiler

If you're looking for GUI FernFlower, download Bytecode Viewer - https://github.com/Konloch/bytecode-viewer/releases

Basic Decompile:
Code:
java -jar fernflower.jar jarToDecompile.jar decomp/

With that fernflower will decompile jarToDecompile.jar and put the Java files into decomp/jarToDecompile.jar (Remember, jar is simply a .zip archive, so open it with any zip reader)

If you run into the issue with people obfuscating as aa aA and you can't reobfuscate for some reason, fernflower has a neat ability that allows you to rename all of the classes/fields/methods to class1, class2, etc.

Code:
java -jar fernflower.jar -ren=1 jarToDecompile.jar decomp/

For more options, read the FernFlower documentation here.

These are just some of the awesome things you can do with fernflower, go download it and try it out!
```

[/md]
我是平方X~
回复

使用道具 举报

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

本版积分规则

QQ|小黑屋|手机版|Archiver|平方X ( 冀ICP备14018164号 )

GMT+8, 2024-5-8 22:07 , Processed in 0.128853 second(s), 21 queries .

技术支持:Powered by Discuz!X3.4  © 2001-2013 Comsenz Inc.

版权所有:Copyright © 2014-2018 平方X www.pingfangx.com All rights reserved.

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