/dpt-shell

An android Dex protects shell implementation

Primary LanguageCMIT LicenseMIT

dpt-shell

简体中文 | English

dpt-shell is an android Dex protect shell that makes Dex's functions code empty and fix on run.

Usage

Quick uses

Go to Releases download executable.zip and unzip it, run the follow command lines in terminal:

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

Manual builds

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

Command line options

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.

Notice

This project has not too many tests, be careful use in prod environment. Otherwise, all consequences are at your own risk.

Dependency or use follows project code