Git Product home page Git Product logo

apk-decompilation-tools's Introduction

APK-Decompilation-Tools

【原创】一个APK反编译的组合工具, 使用 Python 进行简单的集成, 方便快捷地对 APK 包快速反编译与打包.

@Author : 艾登Aiden @Email : [email protected]

更新 :

  1. 支持处理多个 classes.dex 文件
  2. apktool.jar 更新到 2.6.1 版本

一、平台:

windows 10 下运行

二、依赖:

python 环境

java运行环境, 并添加 JAVA_HOME 环境变量

三、功能介绍:

1.反编译(查看) 2.反编译(修改) 3.一键打包并签名 0.退出程序: 

四、注意事项:

1.tools 目录: 存放主要模块, 不可修改的

五、使用详细:

  • 克隆
git clone 本项目
  • 进入主目录
cd APK-Decompilation-Tools
  • 在 input_apk 目录 放入 目标apk, 比如 test.apk (必须的) (理论上支持多个apk同时进行)

  • 启动

python run.py
  • 选择功能:

    1. 进行 APK 反编译(查看):

      执行 1

      在 view 目录下生成 一个项目结构 和 一个 *-jar 目录

      使用主目录的 jd-gui.exe 工具打开 jar 文件 查看源码

    2. 进行 反编译(修改):

      执行 2

    3. APK 解包再打包并签名:

      先执行 2

      再执行 3

      在 write 目录下生成 xxx 项目文件 + xxx-sign 文件夹

      xxx-sign.apk 就是可安装的apk

(python_3.6.9) D:\Code\My-Github-Code\APK-Decompilation-Tools\APK-Decompilation-Tools>D:/miniconda3/envs/python_3.6.9/python.exe d:/Code/My-Github-Code/APK-Decompilation-Tools/APK-Decompilation-Tools/run.py

====== 选择模式 ======

1.反编译(查看) 2.反编译(修改) 3.一键打包并签名 0.退出程序 输入: 2

== 进入反编译-修改模式 ==

正在生成smali文件夹...

I: Using Apktool 2.6.0 on test.apk

I: Loading resource table...

I: Decoding AndroidManifest.xml with resources...

I: Loading resource table from file: C:\Users\admin\AppData\Local\apktool\framework\1.apk

I: Regular manifest package...

I: Decoding file-resources...

I: Decoding values / XMLs...

I: Baksmaling classes.dex...

I: Copying assets and libs...

I: Copying unknown files...

I: Copying original files...

Successful smali dir: d:\Code\My-Github-Code\APK-Decompilation-Tools\APK-Decompilation-Tools\write\test\smali

Done!

(python_3.6.9) D:\Code\My-Github-Code\APK-Decompilation-Tools\APK-Decompilation-Tools>D:/miniconda3/envs/python_3.6.9/python.exe d:/Code/My-Github-Code/APK-Decompilation-Tools/APK-Decompilation-Tools/run.py

====== 选择模式 ====== 1.反编译(查看) 2.反编译(修改) 3.一键打包并签名 0.退出程序 输入: 3

== 进入一键打包并签名 ==

正在生成apk文件...

正在打包...

I: Using Apktool 2.6.0

I: Smaling smali folder into classes.dex...

I: Building resources...

I: Copying libs... (/lib)

I: Building apk file...

I: Copying unknown files/dir...

I: Built apk...

Successful compile_apk file: d:\Code\My-Github-Code\APK-Decompilation-Tools\APK-Decompilation-Tools\write\test\dist\test-new.apk

正在签名...

Successful 已签名apk file: d:\Code\My-Github-Code\APK-Decompilation-Tools\APK-Decompilation-Tools\write\test-sign\test-new-sign.apk

Done!

感谢

apk-decompilation-tools's People

Contributors

aidencaptcha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.