Skip to main content

Fast dex dump in memory based on frida.

Project description

FRIDA-DEXDump

asciicast

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.2.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.2-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: frida-dexdump-1.0.2.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

File hashes

Hashes for frida-dexdump-1.0.2.tar.gz
Algorithm Hash digest
SHA256 a8b2e59097697123c2d77d8a8d151dbcf4fe324d3ac317ab7ed48a00303eb1e0
MD5 1a61765f864c747455449046792b3a49
BLAKE2b-256 43d78b54e61fbb4858f92916a779a6b1459ac2158fd79d518f1d0e82694e9319

See more details on using hashes here.

File details

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

File metadata

  • Download URL: frida_dexdump-1.0.2-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.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

File hashes

Hashes for frida_dexdump-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 aed2810cec156d5aa061a90fcdf6ee43a4c1643f01415989320c0b6ae8974109
MD5 df8feea2a54e759a1161112b411d569c
BLAKE2b-256 e1d9b1861df678756ce2c81dc211612744a0535ec912dfcf0324bc5f84569df1

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