Skip to content
totoag edited this page Jul 21, 2022 · 19 revisions

Welcome to the Androguard wiki!

Installation

Androguard is intended to be launch directly without any particular installation, only the packages that we are using:

git clone https://github.com/androguard/androguard.git
pip install -r requirements.txt

You can now directly start to play with some APK !!

python3 cli.py apkid download-eded3bc3451011237ec5cfba1f723c41e6d46cfed5124ffd4659c8895b88e62f.apk

2022-07-20 15:51:31.132 | INFO     | androguard.core.axml:__init__:371 - AXMLParser
{
  "download-eded3bc3451011237ec5cfba1f723c41e6d46cfed5124ffd4659c8895b88e62f.apk": [
    "it.toscana.regione.smartsst",
    "36010",
    "3.0.6"
  ]

Pypi (TBD)

CLI Commands

The cli.py is the main and quickest entry points to play with Androguard. This tool is divided in different components.

python cli.py OPTIONS COMMAND OPTIONS

analyze

The 'analyze' command will directly bring you into the IPython session and provide some analyzed objects.

python cli.py  analyze test.apk

apkid

arsc

axml

decompile

disassemble

strace

The 'strace' command will directly analyze the provided APK, install it on the default connected phone and run it and start to trace all syscalls.

python3 cli.py strace test.apk

trace

The 'trace' command will directly analyze the provided APK, install it on the default connected phone and run it and start to trace all events specified in the modules list.

python3 cli.py trace test.apk -m "androguard/pentest/modules/**"
Clone this wiki locally