install
-
PyPi installation:
$ pip3 install apkleaks
-
Source code installation:
$ git clone https : / / github . com / dwisiswant0 / apkleaks $ cd apkleaks / $ pip3 install - r requirements . txt
-
Docker installation:
$ docker pull dwisiswant0 / apkleaks :latest
Usage Case:
$ apkleaks - f ~ / path / to / file . apk #Or source code running $ python3 apkleaks . py - f ~ / path / to / file . apk #Or Docker $ docker run - it -- rm - v / tmp : / tmp dwisiswant0 / apkleaks : latest - f / tmp / file . apk
-
-f, --file : Specify the APK file to scan, such as: apkleaks - f file.apk -
-o, --output : Specify the result output file, such as: apkleaks - f file.apk - o results.txt -
-p, --pattern : Path of custom mode JSON, such as apkleaks - f file.apk - p custom-rules.json -
-a, --args : Set decompilation parameters, such as: apkleaks - f file.apk -- args="-- deobf -- log level DEBUG" -
--json : Save in json format, such as: apkleaks - f file.apk - o results.json -- json