lielingai/zhishi/rev

Claude Code and agent skill by lielingai/zhishi

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

逆向工程环境。当任务是二进制逆向分析、固件解剖、恶意样本静态分析、补丁 diff 时使用——内置 Ghidra headless(analyzeHeadless 批处理反编译/脚本化分析)、ghidriff(patch diff,1day 刚需)、radare2(r2,快速静态面/脚本化)、gdb、binutils,大目标在环境内跑 headless 脚本,结果(反编译产物/符号/报告)落工作区。

Install

npx vskill@latest install lielingai/zhishi/rev

SKILL.md

rev —— 逆向工程环境

何时用

二进制逆向、固件分析、恶意样本静态分析、补丁 diff(patch diff)。Ghidra 以 headless(analyzeHeadless)形态使用——GUI 是研究员本机的事(D-边界 判断 #11:领域 GUI 不重做),环境内跑批处理与脚本化分析。

怎么进

zhishi env up rev
zhishi env open <id>

工作区挂载 /workspace,目标二进制放进来即可分析。

标准工作流

bash
cd /workspace
# ① 快速静态面(r2 快手件:秒级出信息,Ghidra 分析前的侦察)
r2 -2 -qc 'iI; iS; iz' ./target.bin # 基本信息/段/字符串
rabin2 -i ./target.bin # 导入表
# ② 建 Ghidra 工程并导入分析(headless)
analyzeHeadless /workspace/ghidra-proj MyProj -import ./target.bin \
-analysisTimeoutPerFile 600 -deleteProject
# ③ 脚本化提取(反编译/函数清单/字符串)
analyzeHeadless /workspace/ghidra-proj MyProj -process ./target.bin \
-scriptPath /workspace/scripts -postScript DecompileAll.java
# ④ 补丁 diff(1day:新旧两版直接 diff,markdown/json 报告落盘)
ghidriff ./old.bin ./new.bin -o /workspace/out/patch-diff

补丁 diff 套路:优先 ghidriff 一把梭(VersionTrackingDiff 直接出函数级 改动清单);要自定义关联再退回 analyzeHeadless 分别导出反编译 → 文本 diff。 锁到改动函数后 gdb 动态验证(需要跑起来时换 pwn 配方环境)。

结果怎么采

反编译产物/ghidriff 报告/脚本输出约定落 /workspace/out/;分析结论用 zhishi research log 记录(task_kind=re 之类按实际),蒸馏弧沉淀。

怎么收尾

zhishi env down <id>。Ghidra 工程想留:留 /workspace/ghidra-proj/ (工作区内的东西 docker rm 不丢)。

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
92
Repository forks
5
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/lielingai/zhishi/rev/badge)](https://verified-skill.com/skills/lielingai/zhishi/rev)

Something wrong with this skill or its page? Tell us.