Last active
February 1, 2024 10:24
-
-
Save palawer/2769aab28586104fe088bfc6a5d3467d to your computer and use it in GitHub Desktop.
Get apk from android device
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pull apk from device | |
adb shell pm list packages | |
adb shell pm path com.example.someapp | |
adb pull /data/app/com.example.someapp.apk path/to/desired/destination | |
# add mitm certificate | |
apk-mitm someapp.apk --certificate ~/.mitmproxy/mitmproxy-ca-cert.pem --apktool ~/bin/apktool_2.9.3.jar | |
# push to the device | |
adb install -r someapp.apk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment