Java反编译器JD

引言

作为一个高开人员,反编译软件一定都听说过吧,要不岂不被笑掉大牙,下面将我最常用的反编译器JD推荐给大家。

编译与反编译

说到反编译器,一定要强调一下编译与反编译。"编译"是将源代码转换成二进制执行代码的过程,而"反编译"是把二

进制执行代码转换成源代码的过程,在Java平台下有Jad、Jode、JD等反编译器。

JD

JD分为JD-GUI、JD-Eclipse两种运行方式。

JD-GUI is a standalone graphical utility that displays Java source codes of ".class" files. You can browse the reconstructed source code with the JD-GUI for instance access to methods and fields.

JD-GUI是以单独的程序的方式运行,显示".class"文件的源代码。你可以用JD-GUI浏览重建的源代码,例如,访问属性和方法。



JD-Eclipse is a plug-in for the Eclipse platform. It allows you to display all the Java sources during your debugging process, even if you do not have them all.

JD-Eclipse是一个Eclipse插件,它能在你调试过程中即使没有源代码文件,也能够反编译给你源代码。


大家可以到官网进行下载。http://jd.benow.ca/

具体安装,怎么使用,卸载在下载的readme.txt中都有详细说明。

比如JD-GUI的说明readme.txt。

This is README file for Java Decompiler.
JD home page: http://java.decompiler.free.fr
Copyright 2008-2013 Emmanuel Dupuy.

1. Installation.
No installation and no setup are required.

2. Description
JD-GUI is a standalone graphical utility that displays Java source codes of
".class" files. You can browse the reconstructed source code with the JD-GUI
for instant access to methods and fields.

JD-GUI is free for non-commercial use. This means that JD-GUI shall not be
included or embedded into commercial software products. Nevertheless, JD-GUI
may be freely used for personal needs in a commercial or non-commercial
environments.

3. How to use JD-GUI
For example, to decompile "Object.class", you can :
- execute the following command line : "jd-gui.exe Object.class".
- select "Open File ..." in "File" menu and browse to "Object.class".
- drag and drop "Object.class" onto "jd-gui".

4. Changes
http://java.decompiler.free.fr/jd-gui/changes/

5. Uninstallation
 5.1 Windows: Delete "jd-gui.exe" and "jd-gui.cfg".
 5.2 Linux: Delete "jd-gui" application file and "jd-gui.cfg".
 5.3 OSX: Drag and drop "JD-GUI" application to the trash.

6. Network & Security
JD-GUI includes a feature to inform you of the availability of new versions.
It executes the HTTP GET request "http://java.decompiler.free.fr/jd-gui/
update/" without any parameters neither cookies to download update data. No
personal information is transmitted. You can check network activities of
JD-GUI with "tcpdump" for example ... If you decide to block network acces of
JD-GUI, all its features remains operational, except the auto-update checking
feature, of course.

7. Disclaimer
Copyright 2008-2013 Emmanuel Dupuy.

THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR
OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

拓展

JD除了以上两种,还有IntelliJ的插件JD-Intellj,但这个插件是收费的。大家也可以到官网进行了解和下载使用。

小结

软件的使用一定要到官网上进行学习和使用,这样在使用过程中不会出现太多的问题。但不可避免的是,基本所有的官网都是英文的。你懂得,英语,好好学吧。





      

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 14
    评论
Java反编译器JD-GUI是一款用于将二进制执行代码转换为源代码的工具。它提供了可视化的界面,可以方便地查看和编辑Java相关的文件,如.class和.tld文件。JD-GUI有两种运行方式,一种是以单独的程序方式运行,另一种是以Eclipse插件方式运行。要使用JD-GUI,只需将class文件或jar包拖放到JD-GUI界面中即可反编译并显示源代码。你可以通过Save All Sources保存反编译后的源代码到指定的磁盘路径。需要注意的是,由于反编译过程可能会导致部分代码出入,所以在使用JD-GUI反编译后,可能需要自行进行一些修改。JD-GUI可以从官方网站https://github.com/java-decompiler/jd-gui/releases进行下载,也可以通过其他途径获取。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [java反编译工具--jd-gui](https://blog.csdn.net/weixin_44285713/article/details/125147683)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] - *2* [java反编译器jd-gui-0.3.3](https://download.csdn.net/download/kinggod09/4023393)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] - *3* [java反编译工具--JD-GUI](https://blog.csdn.net/qq_44275015/article/details/131559995)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 14
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值