MCPcopy Index your code
hub / github.com/androguard/androguard

github.com/androguard/androguard @v4.1.4 sqlite

repository ↗ · DeepWiki ↗ · release v4.1.4 ↗
3,007 symbols 8,612 edges 120 files 929 documented · 31%
README

banner

Androguard

PyPI Upload PyPI - Version Static Badge

Do you think your phone has been pwned ? please check IsMyPhonePwned

New tool: Goauld Dynamic injection tool for Linux/Android

See the new version of Androguard: https://github.com/androguard/androguard/tree/ng

Installation

Quick installation:

pip install androguard

[!IMPORTANT] Versions >= 4.0.0 are new releases after a long time, where the project has substantial differences from the previous stable version 3.3.5 from 2019. This means that certain functionalities have been removed. If you notice an issue with your project using the latest version, please open up an issue.

Documentation

Documentation contains outdated information - In progress of updating

The Github Pages Documentation is the most up to date source.

Additional documentation that contains outdated information is available at ReadTheDocs.

Features

Androguard is a full python tool to play with Android files.

  • DEX, ODEX
  • APK
  • Android's binary xml
  • Android resources
  • Disassemble DEX/ODEX bytecodes
  • Basic Decompiler for DEX/ODEX files
  • Frida support for easy dynamic analysis
  • SQLite database to save the session

Authors: Androguard Team

Androguard + tools: Anthony Desnos (desnos at t0t0.fr).

DAD (DAD is A Decompiler): Geoffroy Gueguen (geoffroy dot gueguen at gmail dot com)

Projects using Androguard

In alphabetical order

You are using Androguard and are not listed here? Just create a ticket or send us a pull request with your project!

Licenses

Androguard

Copyright (C) 2012 - 2024, Anthony Desnos (desnos at t0t0.fr) All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS-IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

DAD

Copyright (C) 2012 - 2016, Geoffroy Gueguen (geoffroy dot gueguen at gmail dot com) All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS-IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Core symbols most depended-on inside this repo

append
called by 397
androguard/ui/selection.py
get_output
called by 220
androguard/core/dex/__init__.py
agPacket
called by 173
androguard/pentest/internal/utils.js
agSysPacket
called by 123
androguard/pentest/internal/utils.js
write
called by 117
androguard/decompiler/writer.py
get_name
called by 100
androguard/core/bytecode.py
get_variables
called by 95
androguard/decompiler/opcode_ins.py
add
called by 86
androguard/decompiler/dast.py

Shape

Method 2,213
Function 489
Class 297
Route 8

Languages

Python92%
Java5%
TypeScript3%

Modules by API surface

androguard/core/dex/__init__.py983 symbols
androguard/decompiler/instruction.py286 symbols
androguard/decompiler/opcode_ins.py230 symbols
androguard/core/analysis/analysis.py176 symbols
androguard/core/axml/__init__.py151 symbols
androguard/core/apk/__init__.py131 symbols
androguard/decompiler/basic_blocks.py71 symbols
androguard/decompiler/writer.py63 symbols
androguard/decompiler/dast.py59 symbols
androguard/ui/table.py42 symbols
androguard/pentest/internal/utils.js42 symbols
androguard/decompiler/graph.py37 symbols

Dependencies from manifests, versioned

apkInspector1.2.1 · 1×
asn1crypto0.24.0 · 1×
click7.0 · 1×
colorama0.4.1 · 1×
cryptography46.0.6 · 1×
ipython5.0.0 · 1×
lxml4.3.0 · 1×
pydot1.4.1 · 1×
pygments2.3.1 · 1×

For agents

$ claude mcp add androguard \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact