Last active
January 25, 2024 21:13
-
-
Save bharath2020/94f8cf9470a19a654d6c to your computer and use it in GitHub Desktop.
Download manifest from Android APK
This file contains hidden or 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
//download data.ab (encrypted) and DONOT GIVE ANY PASSWORD when prompted | |
adb backup -f ~/data.ab -noapk app.package.name | |
//decrypt and extract the data.ab [this worked most of the time except for few instances ] | |
//this will output all the contents of app into 'apps' directory | |
dd if=data.ab bs=1 skip=24 | python -c "import zlib,sys;sys.stdout.write(zlib.decompress(sys.stdin.read()))" | tar -xvf - | |
//SOURCE: http://blog.shvetsov.com/2013/02/access-android-app-data-without-root.html |
This file contains hidden or 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
aapt l -a name.apk | |
//SOURCE : http://stackoverflow.com/a/11133263/623569 |
This file contains hidden or 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
//List of all packages in the device | |
adb shell pm list packages | |
//Get the path of the app | |
adb shell pm path com.example.someapp | |
//download the apk | |
adb pull <path obtained from above command> | |
//SOURCE: http://stackoverflow.com/a/18132934/623569 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment