项目
在 GitHub 查看
luoyesiqiu/dpt-shell
关于
Android DEX 保护壳实现
开发工具实测星标增长
- 24小时
- +2
- 7天
- +6
- 15天
- +14
- 1个月
- +25
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.zh-CN.md
原文dpt-shell
English | 简体中文
dpt-shell 是一种将 dex 文件中的函数代码抽空,然后在程序运行时将函数代码填回的那么一种壳。
用法
快速使用
转到 Releases 页面下载 executable.zip,解压,执行以下命令:
java -jar dpt.jar -f /path/to/android-package-file
手动编译
git clone --recursive https://github.com/luoyesiqiu/dpt-shell
cd dpt-shell
./gradlew assemble
cd executable
java -jar dpt.jar -f /path/to/android-package-file
命令行参数
usage: java -jar dpt.jar [option] -f <package_file>
-c,--protect-config <arg> Protect config file.
--debug Make package debuggable.
--disable-acf Disable app component factory(just use for
debug).
--disable-anti-debug Disable runtime anti-debug.
--disable-crc-detect Disable runtime libc .text CRC detection.
--disable-frida-detect Disable runtime Frida detection.
--dump-code Dump the code item of DEX and save it to
.json files.
-e,--exclude-abi <arg> Exclude specific ABIs (comma separated, e.g.
x86,x86_64).
Supported ABIs:
- arm (armeabi-v7a)
- arm64 (arm64-v8a)
- x86
- x86_64
-f,--package-file <arg> Need to protect android package(*.apk, *.aab)
file.
-K,--keep-classes Keeping some classes in the package can
improve the app's startup speed to a certain
extent, but it is not supported by some
application packages.
--noisy-log Open noisy log.
-o,--output <arg> Output directory for protected package.
-r,--rules-file <arg> Rules file for class names that will not be
protected.
-S,--smaller Trade some of the app's performance for a
smaller app size.
-v,--version Show program's version number.
-vs,--verify-sign Enable runtime app signature verification.
The certificate SHA-256 is computed
automatically from the signing keystore.
-x,--no-sign Do not sign package.
原理解析
声明
本项目未经大量测试,仅用于学习交流,不要线上使用,否则自行承担后果。
使用或依赖以下项目
探索相关项目
加载中…