Skip to content

Instantly share code, notes, and snippets.

@ninp0
Created July 6, 2023 21:03
Show Gist options
  • Save ninp0/12a6bdee003297a97ba7e4493d1aef8e to your computer and use it in GitHub Desktop.
Save ninp0/12a6bdee003297a97ba7e4493d1aef8e to your computer and use it in GitHub Desktop.
#!/bin/bash --login
usage() {
echo "USAGE: ${0} <path to target APK file>"
exit 1
}
target_apk="${1}"
if (( $# == 1 )); then
aapt dump xmltree "${target_apk}" AndroidManifest.xml > AndroidManifest-DECODED.xml
else
usage
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment