使用 Claude Code 逆向工程任何東西(REA)(初學者指南)
一個針對初學者的逐步教學,介紹開源 REA MCP 伺服器,展示如何搭配 Hopper 安裝它,並使用 Claude Code 逆向工程 Mac 計算器應用程式。
關於這個案例
影片解釋了 REA(Reverse Engineer Anything)是什麼,這是一個 MCP 伺服器,將 Claude Code、Codex 和 Cursor 等 AI 編碼代理連接到經典逆向工程工具(Ghidra、IDA Pro、Hopper)。它涵蓋了反組譯器與反編譯器的基本知識,透過 npx rea-agents setup 安裝 REA,並執行一個示範:帶有 REA 的 Claude Code 從反編譯的虛擬碼中恢復出一個隱藏的計算器規則(200 + 10% = 220),並與普通 Claude Code 透過試錯法解決進行對比。包含官方倉庫、REA 網站和反組譯工具的連結,並附有警告:只能逆向工程你擁有或獲得授權分析的軟體。
安裝設定
安裝方式請查看原始來源。
原文 / README
Reverse Engineer Anything (REA) with Claude Code (Beginner's Guide)
Reverse Engineer Anything (REA) is the viral open-source GitHub project that lets Claude Code look inside any app without its source code. In this step-by-step tutorial, I explain how AI reverse engineering works in plain English, install REA with Hopper, and test Claude Code with REA against plain Claude Code by rebuilding the Mac Calculator app.
REA is an MCP server that connects AI coding agents like Claude Code, Codex and Cursor to classic reverse engineering tools: Ghidra, IDA Pro and Hopper. Those tools aren't new. Ghidra came from the NSA and IDA Pro has been around since the 1990s. What's new is that AI can now read the disassembled and decompiled code for you, a job that used to take experts days.
Both versions rebuilt the calculator and got the hidden 200 + 10% = 220 rule right. The difference was how. Claude Code with REA pointed to the actual decompiled code behind the rule, while plain Claude Code worked it out by trial and error, testing the real app for about 44 minutes. Honest notes: you need a terminal and Node.js, IDA Pro is paid, and Hopper runs as a demo without a license. Only reverse engineer software you own or are allowed to analyze.
🔗 LINKS AND RESOURCES ◦ REA on GitHub (official repo, there are copies around): https://github.com/morluto/rea ◦ REA website: https://rea.tools ◦ Claude Code: https://claude.com/product/claude-code ◦ Hopper Disassembler: https://www.hopperapp.com ◦ Ghidra: https://ghidra-sre.org ◦ IDA Pro: https://hex-rays.com/ida-pro
I'm not sponsored by REA or any other tool in this video.
⏱️ TIMESTAMPS 00:00 Reverse Engineer Anything (REA) Goes Viral on GitHub 00:38 What Is Reverse Engineering? (Simple Explanation) 01:12 Ghidra, IDA Pro and Hopper: Disassembler vs Decompiler 02:25 Why AI Changes Reverse Engineering 02:53 Claude Code With vs Without REA: The Mac Calculator Test 03:41 How to Install REA and Hopper (npx rea-agents setup) 04:48 Claude Code With REA: Reverse Engineering Demo 06:28 Hidden Rule Found in the Decompiled Code (Pseudo-code) 07:26 Plain Claude Code Without REA: Demo 09:41 Results: Is REA Hype or Real? 10:12 Wrap Up and REA Use Cases
❓ QUESTIONS THIS VIDEO ANSWERS What is Reverse Engineer Anything (REA) on GitHub? How does REA work with Claude Code? How do you install REA and connect it to Claude Code? What do Ghidra, IDA Pro and Hopper actually do? What is the difference between a disassembler and a decompiler? What is pseudo-code in reverse engineering? Can Claude Code reverse engineer an app without REA? Is the REA GitHub repo worth the hype?
💡 Connect with me: Instagram: https://www.instagram.com/automatewithmarc LinkedIn: https://www.linkedin.com/in/marconi-darmawan Email: automatewithmarc@gmail.com
☕️ Buy me Coffee: https://buymeacoffee.com/automatewithmarc
#AutomateWithMarc #ClaudeCode #ReverseEngineering
