Git Product home page Git Product logo

dexhunter's Introduction

DexHunter

  • 简易脱壳小工具,参考葫芦娃大佬的 frida-dexdump,但是由 Rust 编写

优势

  • 轻量、便捷:只有单一可执行文件,体积不过几 MB

  • 非侵入性:无需附加到目标进程,有效规避了某些壳父子进程相互 ptrace 的问题

使用

下载预编译版本

Build

  • 部署至 Android 设备
adb push dexhunter /data/local/tmp
adb shell chmod +x /data/local/tmp/dexhunter
  • 运行
adb shell
su 
cd /data/local/tmp
./hunter --pid '$(pidof com.example.app)' -o <output_dir>

手动编译

  • 克隆项目

  • 配置环境变量

# replace with your ndk path
export ANDROID_NDK_ROOT="/home/mufanc/Android/Sdk/ndk/25.1.8937393"
  • 编译 & 运行
# 基本使用
cargo make run --pid '$(pidof com.example.app)' -o <output_dir>

# 「仅扫描」模式,不会提取 dex 文件
cargo make run --pid '$(pidof com.example.app)' 

# 自动获取顶层 activity 的 pid (依赖 dumpsys)
cargo make run -o <output_dir> 
  • 不支持对抹头 dex 文件的搜索

dexhunter's People

Contributors

mufanc avatar sorosunrain avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.