Decompile APK to Java
Project description
README
GENERAL INFO
Project: Library to patch apk (inject frida gadget)
Contributors: MadSquirrel
License: GNU General Public License v3.0
Version: v1.0
Date: 02-06-21
GOAL
Library to patch apk (inject frida gadget) this code is inspired by this project :https://github.com/badadaf/apkpatcher. The improvements added by this fork are the following:
- modification of xml files such as AndroidManifest without extracting the resources. Extracting the resources usually prevents to rebuild the apk.
- Use as an API
- Installation as a package
USAGE
To use as library you just need to:
import apkpatcher
patcher = apkpatcher.Patcher(<apk_path>, <sdktools>, <version>)
patcher.patching(<path_gadget>, <arch>, output_file=<output_file>, user_certificate=<true|false>)
To use as a program you just need to:
apkpatcher -a <apk_path> -g <path_gadget> -s <sdktools> -b <version> -r <arch> -o <output_file>
EXEMPLE
import apkpatcher
patcher = apkpatcher.Patcher(<apk_path>, <sdktools>, <version>)
patcher.patching(<path_gadget>, <arch>, output_file=<output_file>, user_certificate=<true|false>)
INSTALL
sudo python3 setup.py install
Requirement
setup your sktools as follow:
- https://madsquirrels.gitlab.io/mobile/asthook/how.install.html#setup-sdktools install:
- apktool
- pip install -r requirements.txt
CHANGELOG
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
apkpatcher-0.0.6.tar.gz
(23.5 kB
view hashes)
Built Distribution
apkpatcher-0.0.6-py3-none-any.whl
(31.9 kB
view hashes)
Close
Hashes for apkpatcher-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bed128ec922184a89188a706740a97659cde3e0f152be66f9232ca954a0835a8 |
|
MD5 | 9714ce688eebdfab9c08055f68e4aea8 |
|
BLAKE2b-256 | 0e7f96595105985ce9e01931c05ea46efc8e4a8859c08d8ecbac4747e6c13c2f |