【CTF-APK】基于TRAE和jadx的MCP实现AI逆向分析APK文件

工具

python版本:Python 3.14.0,下载地址:https://pythonlang.cn/downloads/release/python-3140/

JADX版本: 1.5.3,下载地址:https://github.com/skylot/jadx/releases

MCP版本:jadx-mcp-server-v5.0.0,下载地址:https://github.com/zinja-coder/jadx-ai-mcp/releases

文件下载

将相关文件,下载到jadx文件目录下

安装过程

升级python至3.10以上版本

fastmcp 要求 Python 版本 >= 3.10

更换python源以求更快的下载速度

pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/

更新pip

python -m pip install --upgrade pip

安装httpx包

pip install httpx

安装fastmcp包

pip install fastmcp

打开jadx的首选项

在插件模块,安装指定插件

将配置输入到TRAE的配置里

我的python位置为C:\Users\Administrator\AppData\Local\Programs\Python\Python314\python.exe

所以我的command为C:\Users\Administrator\AppData\Local\Programs\Python\Python314\python.exe

args里面的位置就是下载的jadx_mcp_server.py的位置

json 复制代码
{
  "mcpServers": {
    "jadx-mcp-server": {
      "command": "C:\\Users\\Administrator\\AppData\\Local\\Programs\\Python\\Python314\\python.exe",
      "args": [
        "C:\\Program Files\\jadx-gui-1.5.3-with-jre-win\\jadx-mcp-server\\jadx_mcp_server.py"
      ]
    }
  }
}

添加MCP,手动添加,输入上述json即可

创建智能体

记得勾选工具jadx

用jadx打开一个apk

TRAE里新建一个项目,使用该智能体

如果智能体没有主动调用MCP,那么直接说调用MCP

至此,jadx成功接入TRAE

相关推荐
hengdonghui16 小时前
Writeup 4 CTFHub weakphp
ctf·md5 绕过·.git 源码泄露·php 弱类型比较
hengdonghui3 天前
Writeup 4 ByteMe CTF 2026 The Vormir Ledger
ctf·osint
文章永久免费只为良心4 天前
Ctfshow_Web应用安全与防护_第二章_无字母数字命令执行
前端·python·安全·网络安全·渗透测试·ctf·红队渗透测试
hengdonghui4 天前
Writeup 4 ByteMe CTF 2026 Sacrifice
ctf·forensics
print_Hyon5 天前
【CTF-CRYPTO-教学-RSA】第八节:超大模数n反噬攻击,已知n、e、c求m(n超大,m的e次方仍小于n,c可直接开e次方得到结果)
ctf
其实防守也摸鱼6 天前
CTF Web 6 题全解 Writeup
linux·sql·学习·算法·安全·ctf·xss
hengdonghui7 天前
Writeup 4 N1BOOK 第一章 Web 入门 · 粗心的小李
ctf·.git泄露
hengdonghui8 天前
Writeup 4 N1BOOK afr_2
ctf·目录穿越
print_Hyon10 天前
【CTF-CRYPTO-教学-RSA】第十三节:知道e、p和q的变形表达式,解密c
ctf
print_Hyon10 天前
【CTF-CRYPTO-教学-RSA】第七节:低加密指数攻击,已知n和e求c(e很小,m的e次方比n小,c可直接开方得到结果)
ctf