Familyye / dpt-shell

Android函数抽取壳实现

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dpt-shell

介绍

dpt-shell是一种将dex文件中的函数代码抽空,然后在程序运行时将函数代码填回的那么一种壳。

用法

快速使用

转到Releases页面下载executable.zip,解压,执行:

java -jar dpt.jar -f /path/to/apk

手动编译

git clone --recursive https://github.com/luoyesiqiu/dpt-shell
cd dpt-shell
gradlew dpt:assemble
gradlew shell:assemble
cd executable
java -jar dpt.jar -f /path/to/apk

命令行参数

usage: java -jar dpt.jar [option] -f <apk>
 -c,--disable-acf      Disable app component factory(just use for debug).
 -d,--dump-code        Dump the code item of DEX and save it to .json
                       files.
 -D,--debug            Make apk debuggable.
 -f,--apk-file <arg>   Need to protect apk file.
 -l,--noisy-log        Open noisy log.
 -s,--no-sign          Do not sign apk.

原理解析

How it works

声明

本项目未经大量测试,仅用于学习交流,不要线上使用,否则自行承担后果。

感谢

About

Android函数抽取壳实现

License:MIT License


Languages

Language:C 54.3%Language:C++ 22.9%Language:Java 22.3%Language:CMake 0.5%