Decrypt iOS Apps
Python script to SSH into your jailbroken device via USB, decrypt an iOS App and transfer it to your local machine.
- Description: Paramiko is a Python (2.7, 3.4+) implementation of the SSHv2 protocol
pip install paramiko
- Description: A simple command line tool which provides network tunnelling over the USB cable to a jailbroken iDevice
- Install: Download the latest and copy to
- You have either
bfinjectsetup on your device.
- If you use
clutch, it should be executable from any path.
- If you use
bfinjectthe scripts and libraries should be in the
/jb/bfinjectdirectory. Here's how to setup
- This script was only tested on devices jailbroken with LiberiOS and Electra, but it might work with other jailbreaks.
ios_ssh.py -l <port> [-p <password>] -a <app_name> [-c|-b] [-i] -l [--lport]: Local SSH port forwarding (has to be an Int) -p [--password]: (optional) Device's root password (default is `alpine`) -a [--app]: iOS Application name -c : Use Clutch to decrypt -b : Use BFInject to decrypt (default) -i : Opens a SSH connection with the device and gives an interactive shell, ignoring the decryption task
This will decrypt the
python ios_ssh.py --lport 2222 -p s3cr37 --app "Instagram"
This will give you an interactive shell to communicate with your device over USB:
python ios_ssh.py --lport 2222 -p s3cr37 -i