当前位置:网站首页>反编译
反编译
2022-06-23 03:50:00 【cuncaojin】
反编译
参考:
- 郭大婶:http://blog.csdn.net/guolin_blog/article/details/49738023
- 红黑联盟:http://www.2cto.com/kf/201606/517304.html
- https://ibotpeaches.github.io/Apktool/build/
1. 反编译代码
要想将APK文件中的代码反编译出来,我们需要用到以下两款工具:
dex2jar 这个工具用于将dex文件转换成jar文件
下载地址:http://sourceforge.net/projects/dex2jar/files/jd-gui 这个工具用于将jar文件转换成java代码
下载地址:http://jd.benow.ca/
使用方法:
- 将apk文件改名为.rar或.zip格式压缩包文件
- 抽出压缩文件中的.dex文件(如:classes.dex)到解压出的dex2jar文件夹中
- 在dex2jar文件夹下dos窗口执行:d2j-dex2jar classes.dex,即得jar文件
- 通过jd-gui直接查看jar文件
注意:很可能失败,如QQ利用apktool漏洞,反编译dex文件报错如下: 
解决办法:到Apktool官网https://ibotpeaches.github.io/Apktool/build/下载项目源码,修改源码,重新生成apktool.jar和apktool.bat文件,重新反编译。具体操作可参考:http://www.2cto.com/kf/201606/517304.html提示。
2.反编译资源
还原9-patch图片、布局、字符串等等一系列的资源。
下载:http://ibotpeaches.github.io/Apktool/install/
- 需要的就是apktool.bat和apktool.jar这两个文件
- 执行: apktool d Demo.apk
边栏推荐
- Online JSON to CSharp (c) class tool
- PTA:7-87 集合的模拟实现(类模板)
- Background ribbon animation plug-in ribbon js
- Tables de recherche statiques et tables de recherche statiques
- QMainWindow
- After Huawei online battle service players quickly match, different players receive different lists of players in the same room
- PTA:7-61 师生信息管理
- Pta:7-63 calculate the number one in the college entrance examination
- Pta:7-58 Book audio-visual rental management
- X24cxx series EEPROM chip C language universal reading and writing program
猜你喜欢
随机推荐
PTA:7-67 友元很简单2016final
How node+express operates cookies
3D数学基础[十六] 匀加速直线运动的公式
Pta:7-63 calculate the number one in the college entrance examination
一篇文章学会er图绘制
[advanced binary tree] AVLTree - balanced binary search tree
Introduction to deep learning
Pytoch --- pytoch customizes the dataset
Pytoch --- use pytoch's pre training model to realize four weather classification problems
PTA:7-65 饮料的价格
[acnoi2022] no way without guessing
Pytorch---Pytorch进行自定义Dataset
Latest programming language rankings
[deep learning] deep learning reasoning framework tensorrt MNN openvino onnxruntime
Zhongang Mining: the demand for fluorite in the new energy and new material industry chain has increased greatly
How does flutter achieve different zoom animation effects
Getting started with tensorflow
给你的AppImage创建桌面快捷方式
What is metadata
flutter系列之:flutter中的Wrap



![[Shangshui Shuo series] day three - preview4](/img/c1/e840304a0a32c283c8720315a56716.png)





