Skip to main content

apkcli

Command line tool gathering information on APKs based on androguard.

PyPI PyPI - Downloads PyPI - License GitHub issues

Install

You can install apkcli directly from pypi : pip install apkcli

You can also install it from the source code :

git clone https://github.com/Te-k/apkcli.git
cd apkcli
pip install .

Plugins

apkcli is a CLI tool with multiple plugins :

usage: apkcli [-h]
              {arsc,cert,dex,find,frosting,info,json,manifest,permissions,shell,strings,urls,yara}
              ...

positional arguments:
  {arsc,cert,dex,find,frosting,info,json,manifest,permissions,shell,strings,urls,yara}
                        Plugins
    arsc                List strings from resource files
    cert                Show the certificate
    dex                 Extract the dex files
    enum                Enumerate interesting informations
    find                Find something in the APK
    frosting            Check if Google Play metadata (frosting) is in the APK
    info                Show the certificate
    json                Extract information on the APK in JSON format
    manifest            Show the manifest
    permissions         List the permissions required by the app
    shell               Launch ipython shell to analyze the APK file
    strings             Extract strings from the DEX files
    urls                Extract URLs from the DEX files
    yara                Run a Yara run on the Dex file

optional arguments:
  -h, --help            show this help message and exit

Example :

> apkcli info 1TopSpy.apk
Metadata
================================================================================
MD5:            3018507704917c208762b69e039bdbbf
SHA1:           aebe6e49ca8522cc0e72429028492e099ddf1f44
SHA256:         5e52438f28275dc2a7e83b989e726f86ba53c915b44f126507763850197646f6
Package Name:   com.topspy.system
App:            System Services

Certificate
================================================================================
SHA1:           656CD7890ED79CE8570D1B7156C31958D5AC1606
Serial:         79667C55
Issuer:         C=US/ST=San Jose/L=CA/O=NOVABAY Solutions/OU=HelloSpy LLC/CN=John Nguyen
Subject:        C=US/ST=San Jose/L=CA/O=NOVABAY Solutions/OU=HelloSpy LLC/CN=John Nguyen
Not Before:     Oct 24 09:02:52 2017 UTC
Not After:      Oct 18 09:02:52 2042 UTC

Permissions
================================================================================
android.permission.ACCESS_WIFI_STATE
android.permission.ACCESS_FINE_LOCATION
[SNIP]

Urls
================================================================================
https://goo.gl/NAOOOI.
https://goo.gl/NAOOOI
http://flushdata.1topspy.com
[SNIP]

License

This code is released under MIT license.

Metadata

Release files for apkcli 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for apkcli 0.1.3
File Size Uploaded
apkcli-0.1.3.tar.gz 12.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for apkcli 0.1.3
File Interpreter ABI Platform
apkcli-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 29.2 kB

Release files / apkcli-0.1.3.tar.gz

Download URL apkcli-0.1.3.tar.gz
Size 12.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e69192dbe4a50ae653170899d651ece13f994e7b222c0e8c504da03e3b0eccec
BLAKE2b-256 checksum
How to use checksums
a0db7fbf104ff6c5b590458126ab384427b02bb79b065263c6c714b63e4cfb9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Release files / apkcli-0.1.3-py3-none-any.whl

Download URL apkcli-0.1.3-py3-none-any.whl
Size 16.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b8935593a9fba3d31536a82b4be970c021ac412b2cdded82f86ce102b8c08ebb
BLAKE2b-256 checksum
How to use checksums
282ae6d24b26cb96bb39e61b1ff0f47c72c14b4c1215b0946970a5a226770ef5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page