androarsc - resources.arsc parserΒΆ

Parse the resources.arsc file from an APK and print human readable XML.

usage: androarsc.py [-h] [--version] [--input INPUT] [--output OUTPUT]
                    [--package PACKAGE] [--locale LOCALE] [--type TYPE]
                    [--list-packages | --list-locales | --list-types]
                    [file]

Decode resources.arsc either directlyfrom a given file or from an APK.

positional arguments:
  file                  resources.arsc or APK to parse

optional arguments:
  -h, --help            show this help message and exit
  --version, -v         Print androguard version and exit
  --input INPUT, -i INPUT
                        resources.arsc or APK to parse (legacy option)
  --output OUTPUT, -o OUTPUT
                        filename to save the decoded resources to
  --package PACKAGE, -p PACKAGE
                        Show only resources for the given package name
                        (default: the first package name found)
  --locale LOCALE, -l LOCALE
                        Show only resources for the given locale (default:
                        '\x00\x00')
  --type TYPE, -t TYPE  Show only resources of the given type (default:
                        public)
  --list-packages       List all package names and exit
  --list-locales        List all locales and exit
  --list-types          List all types and exit