当前位置:网站首页>反编译
反编译
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
边栏推荐
- Permission Operation in dynamics 365 plug-in
- Leetcode 1208. Make strings as equal as possible
- Create a desktop shortcut to your appimage
- Pytoch --- pytoch customizes the dataset
- [learn FPGA programming from scratch -40]: Advanced - Design - competition and risk
- Online text filter less than specified length tool
- PTA:7-61 师生信息管理
- Implementation of VGA protocol based on FPGA
- volatile 与线程的那些事
- 深度学习 简介
猜你喜欢

Redis启动有问题

Sessions and Daemons

给你的AppImage创建桌面快捷方式

在word里,如何让页码从指定页开始编号

flutter系列之:flutter中的Wrap

X24cxx series EEPROM chip C language universal reading and writing program

It supports running in kubernetes, adds multiple connectors, and seatunnel version 2.1.2 is officially released!

什么是元数据

LabVIEW displays both hexadecimal and normal characters in the same table

Avltree - arbre de recherche binaire équilibré
随机推荐
If you want to understand PostgreSQL, you must first brush the architecture
PTA:7-37 学号解析
Pta:7-58 Book audio-visual rental management
What is the open source database under Linux
靜態查找錶和靜態查找錶
Pytoch --- pytoch customizes the dataset
【深度学习】深度学习推理框架 TensorRT MNN OpenVINO ONNXRuntime
Cool mouse following animation JS plug-ins 5
语料库数据处理个案实例(分词和分句、词频统计、排序)
Analysis on the current situation of the Internet of things in 2022
How to ensure application security
深度学习 简介
PTA:7-86 集合的模拟实现(函数模板)
Pytorch---使用Pytorch的预训练模型实现四种天气分类问题
PTA:7-61 师生信息管理
Software development in 2022: five realities CIOs should know
Leetcode 1208. 尽可能使字符串相等(终于解决,晚安)
Pta:7-37 student number analysis
Sequence table lookup
leetcode 91. Decode ways (medium)