{"id":13578185,"url":"https://github.com/Mufanc/DexHunter","last_synced_at":"2025-04-05T16:31:59.294Z","repository":{"id":63609847,"uuid":"551691722","full_name":"Mufanc/DexHunter","owner":"Mufanc","description":"基于内存探测的简易脱壳小工具","archived":false,"fork":false,"pushed_at":"2025-03-27T12:15:37.000Z","size":43,"stargazers_count":151,"open_issues_count":1,"forks_count":60,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-27T13:26:02.355Z","etag":null,"topics":["android","dex","dump"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mufanc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-14T22:38:25.000Z","updated_at":"2025-03-27T12:15:40.000Z","dependencies_parsed_at":"2024-01-01T07:30:44.422Z","dependency_job_id":null,"html_url":"https://github.com/Mufanc/DexHunter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mufanc%2FDexHunter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mufanc%2FDexHunter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mufanc%2FDexHunter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mufanc%2FDexHunter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mufanc","download_url":"https://codeload.github.com/Mufanc/DexHunter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247366396,"owners_count":20927500,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","dex","dump"],"created_at":"2024-08-01T15:01:28.246Z","updated_at":"2025-04-05T16:31:59.028Z","avatar_url":"https://github.com/Mufanc.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# DexHunter\n\n* 简易脱壳小工具，参考葫芦娃大佬的 [`frida-dexdump`](https://github.com/hluwa/frida-dexdump)，但是由 Rust 编写\n\n## 优势\n\n* 轻量、便捷：只有单一可执行文件，体积不过几 MB\n\n* 非侵入性：无需附加到目标进程，有效规避了某些壳父子进程相互 ptrace 的问题\n\n## 使用\n\n### 下载预编译版本\n[![Build](https://img.shields.io/github/actions/workflow/status/Mufanc/DexHunter/build.yml?branch=master\u0026label=build)](https://github.com/Mufanc/DexHunter/actions)\n\n* 部署至 Android 设备\n\n```shell\nadb push dexhunter /data/local/tmp\nadb shell chmod +x /data/local/tmp/dexhunter\n```\n\n* 运行\n\n```shell\nadb shell\nsu \ncd /data/local/tmp\n./hunter --pid '$(pidof com.example.app)' -o \u003coutput_dir\u003e\n```\n\n### 手动编译\n\n* 克隆项目\n\n* 配置环境变量\n\n```shell\n# replace with your ndk path\nexport ANDROID_NDK_ROOT=\"/home/mufanc/Android/Sdk/ndk/25.1.8937393\"\n```\n\n* 编译 \u0026 运行\n\n```shell\n# 基本使用\ncargo make run --pid '$(pidof com.example.app)' -o \u003coutput_dir\u003e\n\n# 「仅扫描」模式，不会提取 dex 文件\ncargo make run --pid '$(pidof com.example.app)' \n\n# 自动获取顶层 activity 的 pid (依赖 dumpsys)\ncargo make run -o \u003coutput_dir\u003e \n```\n\n* 暂**不支持**对抹头 dex 文件的搜索\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMufanc%2FDexHunter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMufanc%2FDexHunter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMufanc%2FDexHunter/lists"}