MCPcopy Index your code
hub / github.com/ChiChou/bagbak

github.com/ChiChou/bagbak @v5.1.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v5.1.2 ↗ · + Follow
46 symbols 103 edges 7 files 0 documented · 0% updated 2mo agov5.1.2 · 2026-04-14★ 1,475

Browse by type

Functions 37 Types & classes 9
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

bagbak

version downloads issues sponsers license

又一个基于 Frida 的 App 解密工具。需要越狱的 iOS 设备和 frida.re

已在 iOS 15 (Dopamine) 和 iOS 16 (palera1n) 上测试通过。

这个项目的名字没有任何含义,我写代码的时候正在听那首歌。

环境要求

注意: bagbak@5 需要 frida@17。如果你的 frida-server 是 v16,请使用 npm install -g bagbak@4

设备端

电脑端

使用方法

bagbak [bundle id 或应用名称]

Options:
  -l, --list                列出所有应用
  -j, --json                以 JSON 格式输出 (仅配合 --list 使用)
  -U, --usb                 连接 USB 设备 (默认)
  -R, --remote              连接远程 frida-server
  -D, --device <uuid>       连接到指定 ID 的设备
  -H, --host <host>         连接到指定主机的远程 frida-server
  -d, --debug               启用调试输出
  -o, --output <output>     ipa 文件名或输出目录
  --remove-keys <keys>      需要移除的 Info.plist 键 (逗号分隔)
  -h, --help                显示帮助信息

解密模式 (第二个参数):

  • all (默认) — 完整 IPA,解密所有二进制文件
  • main (别名: app) — 仅解密主应用二进制文件
  • extensions (别名: ext, exts) — 仅解密扩展二进制文件
  • binaries (别名: bin, executables) — 解密所有二进制文件,输出为 zip

环境变量:

  • DEBUG=1 启用调试输出

示例:

  • bagbak -l 列出所有应用
  • bagbak com.google.chrome.ios 解密应用并输出到 com.google.chrome.ios-[version].ipa
  • bagbak com.google.chrome.ios main 仅解密主应用二进制文件
  • bagbak --remove-keys UISupportedDevices com.google.chrome.ios 移除 Info.plist 中的设备限制

想看更多中文技术分享?欢迎关注我的公众号

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Function 27
Method 10
Interface 7
Class 2

Languages

TypeScript100%

Modules by API surface

index.ts15 symbols
agent/src/springboard.ts13 symbols
lib/utils.ts6 symbols
agent/src/shared.ts5 symbols
agent/src/app.ts4 symbols
bin/bagbak.ts3 symbols

For agents

$ claude mcp add bagbak \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page