APKProxyHelper paches an apk for proxying.
$ python3 aph.py -h
usage: APKProxyHelper [-h] --apk APK
optional arguments:
-h, --help show this help message and exit
--apk APK, -a APK The path to the apk file
$ python3 aph.py -a apk.apk
[*] Decompiling apk.apk
.....
[*] Adding network file to apk/res/xml
[*] Updating manifest at apk/AndroidManifest.xml
[*] Repackaging to apk_proxy.apk
......
[*] Re-signing apk apk_proxy.apk
.....
[*] Cleaning up directory apk
- To fix
brut.androlib.AndrolibException: brut.common.BrutException
, delete existing resource table.