Created
June 29, 2016 18:32
-
-
Save niltonvasques/e83e25caa76986d7dafe34a112b324d0 to your computer and use it in GitHub Desktop.
Pull databases from android application
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
| #!/bin/bash | |
| # USAGE | |
| # apk-db-pull.sh com.package.example | |
| adb backup -f data.ab -noapk $1 | |
| dd if=data.ab bs=1 skip=24 | python -c "import zlib,sys;sys.stdout.write(zlib.decompress(sys.stdin.read()))" | tar -xvf - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment