Skip to main content

Fast dex dump in memory based on frida.

Project description

FRIDA-DEXDump

中文, Asciicast Video

Features

  1. support fuzzy search broken header dex.
  2. fix struct data of dex-header.
  3. compatible with all android version(frida supported).
  4. support loading as objection plugin ~
  5. pypi package has been released ~

Requires

  • frida: pip install frida
  • [optional] click pip install click

Installation

From pypi

pip3 install frida-dexdump
frida-dexdump -h

From source

git clone https://github.com/hluwa/FRIDA-DEXDump
cd FRIDA-DEXDump/frida-dexdump
python3 main.py -h

Usage

  • Run frida-dexdump or python3 main.py to attach current frontmost application and dump dexs.

  • Or, use command arguments:

    -n: [Optional] Specify target process name, when spawn mode, it requires an application package name. If not specified, use frontmost application.
    -p: [Optional] Specify pid when multiprocess. If not specified, dump all.
    -f: [Optional] Use spawn mode, default is disable.
    -s: [Optional] When spawn mode, start dump work after sleep few seconds. default is 10s.
    -d: [Optional] Enable deep search maybe detected more dex, but speed will be slower.
    -h: show help.
    
  • Or, loading as objection plugin

    1. clone this repo and move frida_dexdump into your plugins folder, eg:
      git clone https://github.com/hluwa/FRIDA-DEXDump ~/Downloads/FRIDA-DEXDump;
      mv ~/Downloads/FRIDA-DEXDump/frida_dexdump ~/.objection/plugins/dexdump
      
    2. start objection with -P or --plugin-folder your plugins folder, eg:
      objection -g com.app.name explore -P ~/.objection/plugins
      
    3. run command:
      1. plugin dexdump search to search and print all dex
      2. plugin dexdump dump to dump all found dex.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

frida-dexdump-1.0.1.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

frida_dexdump-1.0.1-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file frida-dexdump-1.0.1.tar.gz.

File metadata

  • Download URL: frida-dexdump-1.0.1.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for frida-dexdump-1.0.1.tar.gz
Algorithm Hash digest
SHA256 96e30d7b12c62d25d4f2972d5ee5528e2bdf3bd5a1752f8f00ed0965a638c30e
MD5 b2dd4b92aab6a4d2068dc4e662fbdbf8
BLAKE2b-256 0dd3df77295263dd42557866c1942b839a6a495734f69f75ac7c017659893ceb

See more details on using hashes here.

File details

Details for the file frida_dexdump-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: frida_dexdump-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for frida_dexdump-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ac06bc6a1a4e9900a7d6fcfac85b50e6fc6e3c58cfbed988e836d1018fba91c9
MD5 9c02df13210ff0c4f0a50b125ebaa903
BLAKE2b-256 cff9e925cccaa14481c20589e003b834e087fc864d6c1999546a1d2004c57c35

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page