Tool use as library or in cli to patch an APK, inject some libraries inside the APK or add a custom certificate
Project description
# README
## GENERAL INFO
Project: Library to patch apk (inject frida gadget) Author: 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:
`python3 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: `bash apkpatcher -a <apk_path> -g <path_gadget> -s <sdktools> -b <version> -r <arch> -o <output_file> `
For more information please visit https://apkpatcher.ci-yow.com/
## EXEMPLE
`python3 import apkpatcher patcher = apkpatcher.Patcher(<apk_path>, <sdktools>, <version>) # not mandatory patcher.add_network_certificate(<custom_certificate>) patcher.set_arch(<arch>) patcher.pause(<True|False>) # end not mandatory patcher.patching(<path_gadget>, <arch>, output_file=<output_file>, user_certificate=<true|false>) `
## INSTALL
`python3 sudo python3 -m pip 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
Built Distribution
Hashes for apkpatcher-0.1.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b885deb9127f4b468f4ae114e2ec06122dc9fc7b35e5269695b9f1428e1b52a6 |
|
MD5 | 9b5d1dcae721e6875be279b7e28d1539 |
|
BLAKE2b-256 | 170d41f1d93bc09fcad33ac9c864b1e2b7bdbe2a36179e307073545bc6a2eb08 |