rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:wanan8396/dsh-frida-toolkit
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A DeepSeek Harness (DSH) plugin that puts a working Frida workbench inside the app: a sidebar row, a full page, and a python bridge that keeps your attachments alive while you edit scripts.
| Section | What it does |
|---|---|
| 环境 / Environment | Python version, frida version, whether the bridge is running |
| 进程 / Processes | device picker + searchable process list, 附加 / Attach and 启动并附加 / Spawn & attach |
| 会话 / Sessions | every live attachment with 选中 / 断开 / 恢复运行 / 结束进程 |
| 脚本 / Script | JS editor, three bundled scripts, 载入 / Load, 卸载 / Unload, rpc.exports caller |
| 消息 / Messages | every send() payload, detach reason, bridge exit — polled every 1.2 s |
The selected session is what the editor loads into, so you can keep three apps attached and hop between them.
| Script | Use |
|---|---|
trace-exports.js |
rpc.exports.configure({module:"libfoo.so"}), list(), hook("ssl", 20) — attaches onEnter/onLeave to exported functions and prints their arguments |
ssl-unpin.js |
Hooks TrustManagerImpl.verifyChain, X509TrustManagerExtensions.checkServerTrusted, OkHostnameVerifier and X509_verify_cert so a proxy can read the traffic |
finder.js |
rpc.exports.search("needle") / searchHex("48 65 6c") — scans readable memory ranges and returns address + context |
Load one, then call its rpc:
configure, with args [{"module":"libc.so"}],Besides the page, the plugin registers one model-facing tool named frida, so you can simply ask
the agent to do the work:
附加到 com.example.app,载入证书校验绕过脚本,把消息给我
The tool takes one action plus its fields and returns the same JSON the page uses:
| action | use |
|---|---|
status / devices / applications |
discover what is attached and running |
processes (query) |
find the target pid |
attach (target) / spawn (target) |
open a session |
load (session, source or target = bundled id) |
install a script |
rpc (session, rpc, args) |
call rpc.exports.<name> |
messages (session, sinceSeq) |
read what the script sent |
sessions / detach / unload / resume / kill |
session lifecycle |
script (target) |
fetch a bundled script's source to edit |
Full contract, examples and failure modes: TOOL.md.
frida in the python that DSH runs (python3 -c "import frida" must succeed). Install with
python3 -m pip install --user frida — on a phone that goes into
$DSH_DEPENDENCY_ROOT/python.frida-server on the device and select it as the device;
this page drives whatever frida.enumerate_devices() reports, local or remote.page ──POST /plugins/frida-toolkit/call──▶ host.js ──stdin/stdout JSON──▶ bridge.py ──▶ frida
◀──GET /plugins/frida-toolkit/events── (buffered) (one process)
bridge.py keeps Device/Session/Script objects; the page never sends python.GET /plugins/frida-toolkit/script?id=ssl-unpin.js serves the bundled scripts.rpc.exports are called synchronously (exports_sync); a script with only async exports must
be called through its own send() messages instead.CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。