getIPA
Pull an app off your own jailbroken iPhone and package it as an .ipa — in one command.
getipa connects to your device over SSH, lists your installed App Store apps (newest first) (system apps filtered out), and builds a ready-to-use IPA. It automates the manual ssh → cd → cp → zip → scp routine, and flags the one thing that routine silently gets wrong: FairPlay encryption.
A tool by rudranetra.com · more at rudranetra.com/tools
Features
- Interactive – just run
getipa; it asks for username, device IP and password, then shows your apps. - Recent first – apps sorted by install/update time; system apps (
com.apple.*) excluded by default. - One-shot or scripted – flags and environment variables for automation.
- Built-in app report – permissions, entitlements, ATS settings, URL schemes, frameworks and encryption status, for a fresh extraction or any local IPA.
- Verified decryption, with self-repair – after a decrypted dump, getipa checks the main binary and frameworks. bagbak sometimes leaves a small FairPlay region untouched (
cryptid=1); getipa then reads just that region from the running app with Frida (read-only), patches it in and re-verifies. If a full dump fails on an app extension, it retries with the main app only. Anything still encrypted is reported loudly. - Encrypted or decrypted – your choice –
--decrypted/--encrypted/ auto. Decryption is done bybagbak, which is bundled (installed by./install.sh). - Hardened against a hostile device – treats everything coming back from the phone as untrusted (see Security).
- Zero dependencies – Python 3.9+ standard library and your system
ssh.
Requirements
| Where | What |
|---|---|
| Computer | macOS, Linux or Windows (experimental), Python 3.9+, OpenSSH client (8.4+ for password login) |
| iPhone | Jailbroken, with OpenSSH running (tar is included on standard jailbreaks) |
| For decrypted IPAs | Node.js + npm on the computer (bundles bagbak), and frida-server running on the iPhone |
Install
With pipx (recommended):
pipx install getipa
getipa --install-bagbak # one-time: fetches the pinned bagbak (needs Node.js/npm) for decrypted dumps
--install-bagbak runs npm ci against the lockfile shipped in the package and installs into ~/.local/share/getipa — nothing is installed globally. Skip it if you only want encrypted copies.
From a clone:
git clone https://github.com/RansomWhisker/getIPA.git
cd getIPA
./install.sh # links getipa into ~/.local/bin AND installs the bundled bagbak
install.sh does the same pinned npm ci (see getipa_cli/npm/package-lock.json) inside the clone. Skip it with SKIP_BAGBAK=1 ./install.sh.
For decrypted IPAs you also need frida-server on the iPhone: install it from your jailbreak's package manager (Sileo / Zebra — add the Frida repo https://build.frida.re if it isn't listed), make sure it's running, and keep its version in step with the Frida version bagbak bundles. If getipa --decrypted fails, this is the first thing to check.
If the bundled install fails, it is almost always Frida's native module not downloading (network reset) or lacking a prebuilt binary for your Node version. Re-run
./install.sh, or switch to Node 20/22 LTS (nvm install 22).
Windows: use pipx install getipa (needs Python and the built-in OpenSSH client). Windows OpenSSH can't share one connection, so each step logs in separately: an SSH key (--key) is the smoothest. Password login works through a small helper but is less tested than macOS/Linux. install.sh is Unix-only.
Make sure ~/.local/bin is on your PATH (the installer tells you if it isn't).
Usage
Interactive
getipa
Username [root]: root
Device IP (just the last number works, e.g. 9 = 192.168.1.9): 9
[*] Using 192.168.1.9
Password (blank = use SSH key/prompt):
Recently installed apps (newest first):
1. 2026-11-04 18:22 com.example.app 2.4.1 Example
2. ...
Pick a number (or Enter to quit): 1
[+] Wrote ipas/com.example.app_2.4.1.ipa
Shorthand: typing just 9 means 192.168.1.9, and 0.5 means 192.168.0.5 (works for --host too). Full IPs and hostnames are used as typed.
Flags
getipa --host 192.168.1.9 --list # list only
getipa --host 192.168.1.9 -b com.example.app # by bundle ID or name substring
getipa --host 127.0.0.1 --port 2222 --list # USB via `iproxy 2222 22`
getipa --host 192.168.1.9 --key ~/.ssh/id_ed25519 -n 25
| Option | Description |
|---|---|
--host, --port, --user |
Connection details (defaults: port 22, user root) |
--key PATH |
SSH private key (recommended over passwords) |
--list |
List apps and exit |
-n N / --all |
Show only the N most recent apps / everything (the default) |
-b, --bundle-id |
Extract an app by bundle ID or name |
--info |
Print the app report after extracting |
--info-file IPA |
Print the report for a local .ipa and exit (no device needed) |
--decrypted / --encrypted |
Require a decrypted IPA (via bagbak) / take the raw encrypted copy only. Same as --mode decrypted|encrypted. Default auto. |
--include-system |
Include com.apple.* apps |
-o DIR |
Output directory (default ./ipas) |
--frida-host |
Let bagbak reach frida-server over the network |
Environment defaults: GETIPA_HOST, GETIPA_PORT, GETIPA_USER, SSH_PASSWORD.
App report
getipa --info-file ./ipas/com.example.app_2.4.1.ipa # offline, any IPA
getipa -b com.example.app --info # extract + report
== Example (com.example.app) ==
Version 2.4.1 (build 301)
Min iOS 15.0
Encrypted YES (FairPlay, cryptid=1)
ATS customised: {NSAllowsArbitraryLoads} <-- insecure
Permissions 2
NSCameraUsageDescription: Scan codes
Entitlements 2
aps-environment: production
Frameworks 1
About encryption
Apps installed from the App Store are FairPlay-encrypted on disk. A plain file copy gives you an IPA whose main binary can't be disassembled. getIPA lets you choose:
| Mode | What you get |
|---|---|
--decrypted |
A decrypted IPA from the running app, via bagbak. Fails with a clear message if bagbak or frida-server is missing. |
--encrypted |
The raw copy, named *_encrypted.ipa. Fast; fine for inspecting resources, Info.plist, entitlements. |
| auto (default) | Copies the app; if its binary is encrypted it switches to bagbak, and falls back to the raw copy (with a warning) if that fails. |
In interactive mode, getipa asks which one you want after you pick an app.
Security
getipa talks to a device you may not fully trust (jailbroken phones run lots of third-party code), so it validates what comes back:
- Usernames/hosts are validated so they can't be parsed as
sshoptions (no-oProxyCommand=…tricks). - All remote paths are shell-quoted and restricted to the app-container directories.
- The tar stream from the device is extracted defensively: no path traversal, symlinks/hardlinks/devices skipped, permissions normalised.
- Device-supplied names are sanitised before being printed or used in filenames or the
bagbakcommand line. - One SSH connection is opened (control socket in a private
0700directory) and reused; passwords go tosshvia a short-livedSSH_ASKPASShelper — never on the command line, never written to disk. - No telemetry. At runtime the only network traffic is your SSH connection (and Frida, if you ask for a decrypted dump). The bundled
bagbakis pinned to an exact version with a lockfile;install.shis the only step that downloads anything.
Good hygiene on your side: change the default alpine password, prefer SSH keys, and only run this on a trusted network. Found a vulnerability? See SECURITY.md.
Responsible use
For use only on devices you own and apps you are authorized to analyze — your own apps, security research, interoperability, and personal backup, where the law permits. Don't use it to pirate software or circumvent licensing. You are responsible for complying with applicable laws and the terms of the software you handle.
Banner and colour
On a terminal each run starts with a short logo, the version and links. It goes to stderr, so piped output and --json stay clean. Hide it with --no-banner or NO_BANNER=1; NO_COLOR=1 turns colour off and NO_ANIM=1 skips the animation.
Troubleshooting
| Symptom | Fix |
|---|---|
UNIX authentication refused |
Wrong password/user. Try --user mobile on rootless jailbreaks. |
Too many authentication failures |
Wait a minute / restart OpenSSH on the device; use --key. |
| Decrypting fails | Is frida-server running on the iPhone? Is its version compatible with bagbak's Frida? Try --encrypted for a raw copy. |
| No apps listed | App may live outside /var/containers/Bundle/Application (e.g. TrollStore apps). |
iTunesMetadata.plist not found |
Normal on many rootless setups; the IPA is still valid. |
License
MIT © Rudranetra India Private Limited — rudranetra.com
Metadata
Release files for getipa 1.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| getipa-1.0.6.tar.gz | 31.0 kB | With provenance | Details for getipa-1.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| getipa-1.0.6-py3-none-any.whl | Python 3 | none | any | Details for getipa-1.0.6-py3-none-any.whl |
Total release size: 61.7 kB
Release files / getipa-1.0.6.tar.gz
| Download URL | getipa-1.0.6.tar.gz |
|---|---|
| Size | 31.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4f55315765ebb35106bb00e14cb8f1eb572520ff81de29741cd35604785b8d7d
|
|
BLAKE2b-256 checksum How to use checksums |
e69f3ed845b5384962ba06178255995cccea280032f5472b02ed9cf86c98b261
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.
Transparency logRelease files / getipa-1.0.6-py3-none-any.whl
| Download URL | getipa-1.0.6-py3-none-any.whl |
|---|---|
| Size | 30.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2b20423d868cefee283b18bd0e6564f44281673df58fb46e5f9095741724b85b
|
|
BLAKE2b-256 checksum How to use checksums |
7ed92eaf8924412cf61a42d13143040b750a7fd7cc7a52d0d36090f5eb5c2bef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.
Transparency logSecurity for getipa 1.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for getipa-1.0.6.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.