How To decrypt apps on Jailbroken device based on frida
On Your phone you need frida :
https://www.frida.re/docs/ios/
Windows / Mac / Linux
On your desktop you need npm
- NPM : https://nodejs.org/
- zip command (optional). We'll generate an ipa archive when this command is avaliable
Windows Compatibility
Before
[email protected] it was unable to connect device via USB (ref: https://frida.re/news/2019/05/15/frida-12-5-released/). Please use up-to-date frida to overcome this;
Filesystem of iOS differs from Windows. If you are running bagbak on Windows, some of the file attributes (e.g., executable bit) will be lost, thus the repacked ipa may not be able to reinstall on your phone. But it does not matter if you only indend to do static analysis.
Open Your terminal and past : npm install -g bagbak
once you are done connect you jailbroken device to your Desktop
Create a folder like on Desktop called "apps"
now open your folder , and type cmd in the folder path
now your terminal is directly in your "apps" path
Now you can execute bagbak directly from your terminal
Usage
bagbak [bundle id or name]
Options:
-l, --list list apps
-H, --host <host> hostname
-u, --uuid <uuid> uuid of USB device
-o, --output <output> output directory
-f, --override override existing
-e, --executable-only dump executables only
-z, --zip create zip archive (ipa)
-h, --help output usage information
Github is here available : source
have fun