Prototyp · Vorschau: alle Server aus der offiziellen Registry, alle 30 Minuten synchronisiert. Mit Google anmelden, um Bewertungen zu schreiben.Prototyp · alle 30 Min. aktualisiert
PopNx MCPMCP-Server für alle, die KI nutzen · in einfachen Worten erklärt

frida-ios-dump Skill

Repository ↗

von AloneMonkey★ 4.0021 Skills

Installieren

What it does

pull decrypted ipa from jailbreak device

  • Connects Instruction files the AI reads
  • Account or key No key found in README or SKILL.md
  • Category Programmieren
Für Anbieter: Badge ins README

Wenn du das gebaut hast, füge diesen Code in dein README ein. Das Badge verlinkt auf diese Seite.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/skill/alonemonkey-frida-ios-dump.svg)](https://mcp.popnx.com/en/skills/alonemonkey-frida-ios-dump)

Zusammen nutzen mit

MCP-Server, die die KI für dieselbe Arbeit mit Diensten verbinden

REA

Reverse engineer anything from your terminal or agent with one CLI and MCP server.

von morlutoWeit verbreitet↓ 388.706/Wo.★ 464.078Aktualisiert vor 5 Tagen

MCP · Verbindet einen DienstLäuft auf deinem Computer

Fallow

Codebase intelligence for TypeScript and JavaScript, exposed as structured MCP analysis tools.

von fallow-rsWeit verbreitet↓ 2,4 Mio./Wo.★ 5374Aktualisiert heute

MCP · Verbindet einen DienstLäuft auf deinem Computer

Desktop Commander

MCP server for terminal commands, file operations, and process management

von wonderwhy-erWeit verbreitet↓ 740.317/Wo.★ 10.326Aktualisiert vor 5 Tagen

MCP · Verbindet einen DienstLäuft auf deinem Computer

Ähnliche Skills

Gleiche Art Arbeit, sortiert wie die Skill-Liste

Im Vergleich mit ähnlichen
Dieser
frida-ios-dump
reaandrej-karpathy-skillsgraphifyMoneyPrinterTurbo
AnbieterAloneMonkeymorlutomultica-aiGraphify-Labsharry0703
Skills11111
GitHub-Sterne4.002465.460233.910149.364144.149
Letzte Codeänderung2. Nov. 202617. Nov. 202620. Apr. 202617. Nov. 202617. Nov. 2026
LizenzMITMIT–Apache-2.0MIT

1 Skills (Anweisungssammlungen) von AloneMonkey, die eine KI liest und befolgt · kein MCP-Server

Was einen Skill von MCP unterscheidet

MCP = die Hände

Verbindet die KI mit einem externen Dienst oder Daten, etwa Notion lesen oder eine Rechnung erstellen. Ein Programm oder Server muss laufen.

Skill = das Handbuch

Eine Textdatei, die der KI zeigt, wie eine Aufgabe geht. Sie verbindet sich mit nichts.

Manches überschneidet sich: Einige Skills starten Skripte mit Werkzeugen, einige MCP-Server liefern nur Wissen. Geh von der Aufgabe aus.

Funktioniert mit

Vom Anbieter nicht angegeben · SKILL.md-Skills laufen in Apps mit Agent-Skills-Unterstützung wie Claude Code, Codex und Cursor

Installieren

Is it safe?

  • Who made it

    GitHub account AloneMonkey (person), 13 years old

  • Use and upkeep

    ★ 4.002 stars · code last changed 2. Nov. 2026

  • Any scripts?

    10 scripts that can run on a computer: dump.py, process.sh, dump.js, tests/test_agent.js and 6 more

  • Uses the internet?

    No internet calls found in the scripts

  • Changes machine-wide settings?

    No hooks or writes to machine settings found

Checked automatically from the repo files at commit 42c933a (read only, nothing was run). Not a safety guarantee: read it and decide for yourself

Zuerst: Welche KI nutzt du?

Wähle deine App, dann zeigt diese Seite nur die Installation für diese App

Option 1Upload to claude.ai (web and app)

  • Files are byte-for-byte the same as on GitHub at commit 42c933a · View on GitHub ↗

  • 10 scripts

  • Once uploaded it runs on Claude’s systems, not on your computer. No need to unzip

Look inside before downloading

All 18 files · 641 KB

  • LICENSE1 KB
  • README.md11 KB
  • SKILL.md12 KB
  • assets/wechat-official-account.png395 KB
  • assets/wechat-personal.jpg99 KB
  • dump.js16 KB
  • dump.py31 KB
  • package.json1 KB
  • pnpm-lock.yaml1 KB
  • process.sh2 KB
  • requirements.txt1 KB
  • tests/test_agent.js2 KB
  • tests/test_agent_io.js5 KB
  • tests/test_agent_scan.js4 KB
  • tests/test_agent_temp.js3 KB
  • tests/test_connection_options.py14 KB
  • tests/test_dump.py39 KB
  • tests/test_sftp.py4 KB
  1. Download frida-ios-dump.zip

    641 KB · 18 files · MIT license (license file included in the folder)

    Download frida-ios-dump.zip

  2. Open Skills on claude.ai and upload

    +Create skillUpload a skillpick frida-ios-dump.zip

    Open claude.ai/customize/skills ↗

  3. No Upload button? Turn on file creation first

    SettingsCapabilitiesCode execution and file creation

    Turn on Code execution and file creation first (newer menus: Create and edit files) · personal plans: Settings → Capabilities · Team/Enterprise: an admin turns it on under Organization settings → Plugins & skills · every plan, including Free

Upload once; it works in claude.ai and Claude Desktop, and in recent Claude Code signed in with a Claude account (not with an API key)

Cowork and cloud sessions use the skills turned on in your claude.ai account, not ~/.claude/skills on your computer (Claude Desktop scheduled tasks run locally and still load it)

Checked against official docs 12. Nov. 2026 · Source: support.claude.com, support.claude.com, code.claude.com

Option 1Claude Code installieren lassen

Kopiere diesen Satz und füge ihn in einen Claude Code-Chat ein

Where to install
Please install the skill frida-ios-dump from https://github.com/alonemonkey/frida-ios-dump (commit 42c933a) for all my projects, at ~/.claude/skills/frida-ios-dump. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill frida-ios-dump from https://github.com/alonemonkey/frida-ios-dump (commit 42c933a) into the project this chat is open in (at .claude/skills/frida-ios-dump). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Claude Code neu starten, dann /frida-ios-dump tippen oder eine passende Aufgabe stellen; Claude nutzt den Skill

Checked against official docs 12. Nov. 2026 · Source: code.claude.com

For Terminal users

Ein Skill sind Anweisungen, denen die KI folgt. Lies die Dateien vor der Installation und installiere nur von vertrauenswürdigen Anbietern.

  1. Terminal öffnen

    Mac: Command+Leertaste und Terminal tippen · Windows: Der Befehl unten funktioniert nicht in PowerShell; nutze oben „KI installiert es“

  2. Skill-Ordner nach ~/.claude/skills kopieren

    Lädt das Repo in einen temporären Ordner und kopiert nur Ordner mit einer SKILL.md

    git clone --depth 1 https://github.com/alonemonkey/frida-ios-dump.git /tmp/popnx-skill-alonemonkey-frida-ios-dump-42c933a && mkdir -p ~/.claude/skills && cp -R '/tmp/popnx-skill-alonemonkey-frida-ios-dump-42c933a/.' ~/.claude/skills/frida-ios-dump
  3. Claude Code neu starten, dann /frida-ios-dump tippen oder eine passende Aufgabe stellen; Claude nutzt den Skill

Selbst installierte Skills funktionieren in der ChatGPT-Desktop-App, in Codex CLI und in der Codex-Erweiterung für die IDE · ChatGPT im Web und auf dem Handy kann selbst installierte Skills nicht nutzen, nur Skills, die mit einem Plugin aus dem Verzeichnis kommen

ChatGPT-Desktop-App

Die ChatGPT-Desktop-App enthält Codex, und Codex liest Skills aus dem Ordner ~/.agents/skills

Option 1ChatGPT installieren lassen

Öffne Codex in der ChatGPT-Desktop-App und füge diesen Satz in den Chat ein

Where to install
Please install the skill frida-ios-dump from https://github.com/alonemonkey/frida-ios-dump (commit 42c933a) for all my projects, at ~/.agents/skills/frida-ios-dump. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill frida-ios-dump from https://github.com/alonemonkey/frida-ios-dump (commit 42c933a) into the project this chat is open in (at .agents/skills/frida-ios-dump). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Option 2Ordner selbst ablegen

Lege den Ordner frida-ios-dump unter ~/.agents/skills/frida-ios-dump ab

~ ist dein Home-Ordner ($HOME)

Ohne Terminal: ZIP herunterladen, entpacken und den Ordner frida-ios-dump nach ~/.agents/skills verschieben

frida-ios-dump.zip herunterladen

For Terminal users

Ein Skill sind Anweisungen, denen die KI folgt. Lies die Dateien vor der Installation und installiere nur von vertrauenswürdigen Anbietern.

  1. Terminal öffnen

    Mac: Command+Leertaste und Terminal tippen · Windows: Der Befehl unten funktioniert nicht in PowerShell; nutze oben „KI installiert es“

  2. Skill-Ordner nach ~/.agents/skills kopieren

    Lädt das Repo in einen temporären Ordner und kopiert nur Ordner mit einer SKILL.md

    git clone --depth 1 https://github.com/alonemonkey/frida-ios-dump.git /tmp/popnx-skill-alonemonkey-frida-ios-dump-42c933a && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill-alonemonkey-frida-ios-dump-42c933a/.' ~/.agents/skills/frida-ios-dump

Nach der Installation

  • ChatGPT-Desktop-App: Öffne Skills in der Seitenleiste, um zu sehen, ob der Skill da ist
  • So nutzt du ihn: In ChatGPT @ tippen und den Skill wählen · in Codex CLI oder der IDE-Erweiterung /skills ausführen oder $ und den Skill-Namen tippen
  • Codex erkennt neu installierte Skills selbst; wenn einer nicht erscheint, starte Codex neu

Checked against official docs 15. Nov. 2026 · Source: learn.chatgpt.com

ChatGPT im Web und auf dem Handy

Selbst installierte Skills funktionieren hier nicht, nur Skills, die mit einem Plugin aus dem Verzeichnis kommen

Um diesen Skill mit ChatGPT zu nutzen, verwende die ChatGPT-Desktop-App wie oben beschrieben

Checked against official docs 15. Nov. 2026 · Source: learn.chatgpt.com

Option 1Codex installieren lassen

Kopiere diesen Satz und füge ihn in einen Codex-Chat ein · Funktioniert in Codex in der ChatGPT-Desktop-App, in Codex CLI und in der IDE-Erweiterung

Where to install
Please install the skill frida-ios-dump from https://github.com/alonemonkey/frida-ios-dump (commit 42c933a) for all my projects, at ~/.agents/skills/frida-ios-dump. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill frida-ios-dump from https://github.com/alonemonkey/frida-ios-dump (commit 42c933a) into the project this chat is open in (at .agents/skills/frida-ios-dump). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Codex erkennt neu installierte Skills selbst; wenn einer nicht erscheint, starte Codex neu · So nutzt du ihn: In ChatGPT @ tippen und den Skill wählen · in Codex CLI oder der IDE-Erweiterung /skills ausführen oder $ und den Skill-Namen tippen

Checked against official docs 15. Nov. 2026 · Source: learn.chatgpt.com

For Terminal users

Ein Skill sind Anweisungen, denen die KI folgt. Lies die Dateien vor der Installation und installiere nur von vertrauenswürdigen Anbietern.

  1. Terminal öffnen

    Mac: Command+Leertaste und Terminal tippen · Windows: Der Befehl unten funktioniert nicht in PowerShell; nutze oben „KI installiert es“

  2. Skill-Ordner nach ~/.agents/skills kopieren

    Lädt das Repo in einen temporären Ordner und kopiert nur Ordner mit einer SKILL.md

    git clone --depth 1 https://github.com/alonemonkey/frida-ios-dump.git /tmp/popnx-skill-alonemonkey-frida-ios-dump-42c933a && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill-alonemonkey-frida-ios-dump-42c933a/.' ~/.agents/skills/frida-ios-dump
  3. Codex neu starten und eine passende Aufgabe stellen; Codex listet den Skill

Option 1Cursor installieren lassen

Kopiere diesen Satz und füge ihn in einen Cursor-Chat ein

Where to install
Please install the skill frida-ios-dump from https://github.com/alonemonkey/frida-ios-dump (commit 42c933a) for all my projects, at ~/.cursor/skills/frida-ios-dump. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill frida-ios-dump from https://github.com/alonemonkey/frida-ios-dump (commit 42c933a) into the project this chat is open in (at .cursor/skills/frida-ios-dump). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Im Agent-Chat von Cursor / tippen und frida-ios-dump wählen

Checked against official docs 12. Nov. 2026 · Source: cursor.com

For Terminal users

Ein Skill sind Anweisungen, denen die KI folgt. Lies die Dateien vor der Installation und installiere nur von vertrauenswürdigen Anbietern.

  1. Terminal öffnen

    Mac: Command+Leertaste und Terminal tippen · Windows: Der Befehl unten funktioniert nicht in PowerShell; nutze oben „KI installiert es“

  2. Skill-Ordner nach ~/.cursor/skills kopieren

    Lädt das Repo in einen temporären Ordner und kopiert nur Ordner mit einer SKILL.md

    git clone --depth 1 https://github.com/alonemonkey/frida-ios-dump.git /tmp/popnx-skill-alonemonkey-frida-ios-dump-42c933a && mkdir -p ~/.cursor/skills && cp -R '/tmp/popnx-skill-alonemonkey-frida-ios-dump-42c933a/.' ~/.cursor/skills/frida-ios-dump
  3. Im Agent-Chat von Cursor / tippen und frida-ios-dump wählen

Option 1Let the AI install it

Für andere Apps, die Skills lesen. Der Satz enthält die Pfade für Claude Code, Codex und Cursor, damit die KI den für deine App wählt · Copy this sentence into the app’s chat

Where to install
Please install the skill frida-ios-dump from https://github.com/alonemonkey/frida-ios-dump (commit 42c933a) for all my projects, at ~/.claude/skills/frida-ios-dump (in Codex use ~/.agents/skills/frida-ios-dump, in Cursor ~/.cursor/skills/frida-ios-dump). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill frida-ios-dump from https://github.com/alonemonkey/frida-ios-dump (commit 42c933a) into the project this chat is open in (at .claude/skills/frida-ios-dump; in Codex use .agents/skills/frida-ios-dump, in Cursor .cursor/skills/frida-ios-dump). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Checked against official docs 12. Nov. 2026 · Source: code.claude.com, learn.chatgpt.com, cursor.com

For Terminal users

Andere Apps mit Agent Skills (etwa Gemini CLI oder GitHub Copilot) nutzen andere Ordner. Sieh in deren Anleitung nach und kopiere den Ordner mit der SKILL.md dorthin.

Auf GitHub ansehen ↗

Skill-Ordner am 11. Nov. 2026 mit den offiziellen Anleitungen von Claude Code, Codex und Cursor geprüft

✓ Befehle geprüft am 17. Nov. 2026

Original-SKILL.md ansehen

Der folgende Text stammt aus dem Repo des Anbieters, nicht von PopNx MCP

6.810 Zeichen · Ganze Datei auf GitHub öffnen

---
name: frida-ios-dump
description: 自动安装和配置 AloneMonkey/frida-ios-dump,连接 USB 越狱 iPhone,枚举应用并导出解密 IPA。适用于用户要求搭建 iOS 砸壳环境、使用 SSH 别名或密钥连接设备、拉取指定应用的场景。
---

# frida-ios-dump 自动化工作流

你负责实际执行仓库获取、依赖安装、连接检查和指定应用导出,直到交付经过验证的 IPA,或说明具体阻碍。用户只要求安装时,完成安装和连接验证即可。此文件可独立通过链接读取,无需预先安装本仓库或其他 skill。

仓库:<https://github.com/AloneMonkey/frida-ios-dump>

## 1. 确定环境与任务

- 优先复用用户已提供的工作目录、设备、SSH 别名、账号、密钥和应用名称。只询问仍缺少的信息;可以先获取仓库、检查运行时和 SSH 配置,不要为可自动发现的信息中断工作。
- 主机需要 Python 3.10+、Node.js/npm(或 pnpm)和 Git。打包使用 Python 标准库,不需要外部 `zip`、`chmod` 或 `tar`。优先使用现有运行时和项目虚拟环境;缺少工具时用适合当前系统的包管理器补齐,不执行来历不明的远程安装脚本。
- 设备需要已越狱、运行 frida-server 和 SSH 服务,通过 USB 连接并信任主机。解锁、确认信任等物理操作需要用户完成;本工作流不负责越狱。
- 默认仍用 USB。用户指定远程设备时使用 `--remote HOST[:PORT]`,前提是设备的 Frida 和 SSH 服务均可从主机访问;不为此自动修改设备服务监听配置。
- 导出前明确目标应用,优先使用枚举得到的 Bundle ID。未指定目标时先列出应用供用户选择。

## 2. 获取仓库

新目录中执行(目录可按用户需求调整):

```sh
git clone https://github.com/AloneMonkey/frida-ios-dump.git
cd frida-ios-dump
```

用户提供了分支、标签或提交时使用该版本。通过某个分支或提交的链接读取本文件时,优先获取同一版本的仓库。没有 Git 时可下载对应版本的 GitHub 源码 ZIP 并用 Python `zipfile` 解压,不必增加 `tar` 依赖。

已有仓库时先检查 remote、当前分支和 `git status --short`。复用本地修改;仅在适合更新且工作区干净时快进拉取,不执行 `reset --hard`、`clean` 或覆盖用户文件。

确认该版本同时包含 `SKILL.md`、`requirements.txt`、`package.json`、`dump.py`、`dump.js`;`package.json` 应包含 `frida-objc-bridge`。缺少新版本文件时报告版本不符,不用旧版脚本冒充完成安装。

## 3. 安装依赖

以下命令在仓库根目录执行。先确认 `python3` 版本满足要求;如不满足,选择已有的新版 Python 创建 `.venv`,已有可用虚拟环境则复用:

```sh
python3 -m venv .venv
./.venv/bin/python -m pip install -r requirements.txt
npm install
./.venv/bin/python dump.py --help
```

Windows PowerShell 使用 `python -m venv .venv` 创建环境;将本文件后续命令中的 `./.venv/bin/python` 替换为 `.\.venv\Scripts\python.exe`,不要执行 Unix 的激活脚本或直接运行 `./dump.py`。符号链接和 iOS 文件权限会记录后直接写入 IPA,不需要在 Windows 本地创建链接或设置只读权限。该路径已完成模拟测试,完整 Windows 真机流程尚未实测。

已安装 pnpm 时可用 `pnpm install --frozen-lockfile` 替代 `npm install`。仓库没有 npm 的 lockfile,不使用 `npm ci`。后续命令均使用虚拟环境中的 Python,无需依赖跨工具调用保留 shell 激活状态。

Frida 17 的 Objective-C bridge 由 npm/pnpm 安装,`dump.py` 会自动编译 agent,不需要手动运行 `frida-compile`。

安装后直接枚举应用,无需提前查询或对齐设备 Frida 版本,也无需 SSH 凭据:

```sh
./.venv/bin/python dump.py -l
```

多台 USB 设备时,先用 `frida-ls-devices` 找到用户指定设备的 ID,并在枚举和导出命令中都加 `--device-id DEVICE_ID`;虚拟环境工具可用 `./.venv/bin/frida-ls-devices`(Windows 为 `.\.venv\Scripts\frida-ls-devices.exe`)。用户指定远程连接时,枚举改为 `./.venv/bin/python dump.py --remote HOST:27042 -l`,后续导出也保留同一 `--remote`。这两个选项互斥,连接失败不得改用其他设备。

如果设备 Frida 仅监听回环地址,可通过指向设备网络地址的 SSH 别名建立隧道:`ssh -N -L 127.0.0.1:27043:127.0.0.1:27042 iphone-network`,随后使用 `--remote 127.0.0.1:27043 -H iphone-network`;任务结束后关闭隧道。远程模式省略 agent source map 以减小上传体积,USB 模式保留。

如果实际运行出现兼容性错误,再根据具体报错处理,不预先创建版本约束文件或调整设备服务。

## 4. 配置 SSH

### 直接通过 USB

默认连接设备 SSH 22 端口,账号密码为 `root` / `alpine`。不需要 `iproxy` 或本机 2222 转发。

```sh
./.venv/bin/python dump.py 'BUNDLE_ID'
```

账号不同时使用 `-u`,密钥使用 `-K`;密码使用 `-P`。不需要用户提供凭据时不要索取密码。确需密码时避免将其写入仓库、示例文档或最终报告;命令行 `-P` 会使密码可能出现在进程参数中,优先复用已有密钥。

### 复用 SSH 别名

先读取用户指定别名的配置。`-H` 支持 `~/.ssh/config` 中的 `HostName`、`Port`、`User`、`IdentityFile`;命令行选项覆盖配置。不能假定支持系统 OpenSSH 的全部选项,例如跳板机或任意 `ProxyCommand`。

下面是 USB 别名示例,仅在用户需要创建别名时合并到已有配置;用户名和密钥路径按实际情况选择,密钥不存在时省略 `IdentityFile`:

```sshconfig
Host iphone
    HostName 127.0.0.1
    Port 22
    User mobile
    IdentityFile ~/.ssh/frida_ios_dump_ed25519
```

```sh
./.venv/bin/python dump.py -H iphone 'BUNDLE_ID'
```

默认自动模式下,localhost/127.0.0.1/::1 主机或别名均使用 USB,端口表示设备 SSH 端口,不限于 22。例如设备服务监听 44 时,设置别名 `Port 44` 或传入 `-p 44`。显式远程主机名/IP 使用 TCP。可用 `--ssh-transport usb` 或 `--ssh-transport tcp` 显式选择;连接已有本机 TCP 转发服务时使用后者。USB 通道由 `dump.py` 提供,上面的别名本身不能让系统 `ssh iphone` 或 `ssh-copy-id iphone` 自动走 USB。密钥认证失败时仍可回退到默认密码或显式 `-P`。

使用 `--remote` 时,SSH 默认通过 TCP 连接该 Frida 端点的主机、22 端口;`-H` 可单独指定 SSH 主机或别名,`-p` 仍只设置 SSH 端口,不设置 Frida 端口。远程模式即使 `-H` 指向 localhost 也使用 TCP,不与 `--ssh-transport usb` 组合。IPv6 Frida 端点使用 `[IPv6]:PORT`。

### 可选:用户要求免密登录时

复用已有密钥,或创建专用于该设备的密钥。通过已经认证的 SSH/SFTP 连接,将公钥去重追加到对应远端用户的 `~/.ssh/authorized_keys`,保留已有内容,目录权限 700、文件权限 600。私钥留在主机,不能上传。

USB 场景可读取本仓库 `dump.py` 的 `resolve_ssh_options` 和 `connect_ssh`,复用已选定的设备对象建立 `connect_ssh(..., use_usb=True)` 连接,再执行配置或使用 SFTP。需要重新获取设备时,用户指定过 ID 就调用 `get_frida_device(device_id=DEVICE_ID)`;仅在未指定设备时使用默认 USB 选择。配置公钥、独立登录验证、枚举和导出必须沿用同一设备或 ID,获取失败不得回退到默认设备。按当前函数签名调用,结束时关闭 SSH 客户端和返回的 USB forwarder。不为配置密钥引入本机端口转发依赖。

配置后用 `password=None`、`allow_agent=False`、`look_for_keys=False` 和指定私钥建立一次独立连接,确认成功来自该密钥,再报告免密可用。不要关闭设备密码登录或替换其他公钥。

## 5. 导出应用

从枚举结果确认 Bundle ID,确认设备保持解锁,并选择输出路径。脚本创建全新 IPA、通过 ZIP 完整性校验后才替换同名文件;打包或校验失败会保留原 IPA。例如:

```sh
./.venv/bin/python dump.py -H iphone -o './exported-app.ipa' 'BUNDLE_ID'
```

排查卡住时加 `-v` 查看连接、spawn/attach、agent 编译/加载、下载和打包阶段。慢设备可按实际错误调整 `--agent-timeout SECONDS`(等待下一条 agent 消息,默认 120)或 `--transfer-timeout SECONDS`(SCP/SFTP 的 I/O 等待,默认 60,包含 SFTP 通道建立与初始化、扫描、下载和临时文件清理)。这些参数不是总导出时限,也不控制 Frida 的 spawn/attach 或 agent 编译/加载超时,不应将延长等待当作这些问题的修复。诊断输出不要附加密码或密钥内容。

没有别名时省略 `-H iphone`,其他 SSH 参数按已验证的配置添加。

主机每次导出使用独立临时目录;设备端使用任务 UUID 和模块序号生成 `.fid`,避免同名模块覆盖。脚本内部已经并行下载二进制和资源,单次导出无需额外启动多个进程。临时文件隔离不代表同一应用的多次注入或生命周期操作已经过并发验证。

`start dump` 表示设备正在生成解密文件;随后才是传输。已下载的二进制按精确相对路径从资源传输中跳过,只传一次。资源目录边扫描边提交下载,扫描期间显示字节和条目数,总量确定后显示百分比,不额外运行一次全目录扫描或 tar 打包。

运行期间观察输出和进程状态,持续向用户说明当前阶段。需要中断时发送 Ctrl+C,等待进程退出后再重试,避免遗留并行传输。

## 6. 验证与交付

退出码为 0 后,确认输出文件存在且非空。用 Python 标准库检查 ZIP 完整性,并读取主应用信息,例如(替换路径):

```sh
./.venv/bin/python - './exported-app.ipa' <<'PY'
import plistlib
import sys
import zipfile

with zipfile.ZipFile(sys.argv[1]) as archive:
    bad = archive.testzip()
    if bad is not None:
        raise RuntimeError(f'Corrupt ZIP entry: {bad}')
    infos = [name for name in archive.namelist()
             if name.startswith('Payload/') and name.endswith('.app/Info.plist')
             and name.count('/') == 2]
    if len(infos) != 1:
        raise RuntimeError(f'Expected one main app, found {len(infos)}')
    info = plistlib.loads(archive.read(infos[0]))
    executable = infos[0].rsplit('/', 1)[0] + '/' + info['CFBundleExecutable']
    if archive.getinfo(executable).file_size == 0:
        raise RuntimeError('Empty executable')
    print(info.get('CFBundleIdentifier'), executable)
PY
```

需要确认砸壳结果时,解析主程序 Mach-O 的 `LC_ENCRYPTION_INFO` / `LC_ENCRYPTION_INFO_64`,检查 `cryptid=0`。原本无加密标志的文件不能仅凭此证明发生了解密;严格验证可与设备原文件的加密区域比较。将 ZIP 完整性和解密验证的结论分别说明,不把“命令成功”当作全部验证完成。

交付仓库路径、目标 Bundle ID、IPA 绝对路径、大小和完成的验证。仅安装任务则报告环境和连接验证结果。不要自动重签名或安装导出的 IPA。

## 常见阻碍

| 现象 | 处理 |
| --- | --- |
| 找不到 USB 设备 | 检查线缆、USB 连接、信任状态及设备 Frida 服务;需要用户确认信任时说明具体操作。 |
| 设备锁定或无法启动应用 | 请用户解锁并手动打开目标应用,保持亮屏后再试。 |
| SSH 认证失败 | 检查实际账号、别名和密钥;默认 root/alpine 并非所有越狱环境通用。请求缺少的认证信息,不反复猜密码。 |
| 缺少 ObjC / bridge | 在仓库根目录安装 npm 依赖,确认使用本版本 `dump.py` 和虚拟环境。 |
| 协议或版本不匹配 | 根据具体报错处理兼容性问题,不自动升级设备端服务。 |
| 长时间 0 B 或异常脱离 | 记录最后日志与进程状态,排查设备锁定、SSH、应用退出及具体错误;处理原因后重试,避免无限重试或默认重启设备。 |

如果必须修改下载代码,保持 Frida 消息回调只入队,传输在回调之外执行,否则会阻塞 USB 事件循环。修改后运行 `./.venv/bin/python -m unittest discover -s tests -v`,再按用户任务验证真机。

Diskussion

Fragen, Tipps teilen oder melden, dass etwas nicht geht. Sortiert nach „hilfreich“.

Noch keine Beiträge. Stell die erste Frage oder teile einen Tipp.

Beiträge hier stammen von Nutzern, nicht vom PopNx-Team.

Anmelden, um zu posten

Von GitHub

GitHub-Sterne
4.002
Anbieter
AloneMonkey
Lizenz
MIT
Letzte Codeänderung
2. Nov. 2026
SKILL.md-Dateien im Repo (mit Übersetzungen und Vorlagen)
1
Themen
decrypted, dumpdecrypted, ios, ipa, reverse-engineering