Python script to SSH into your jailbroken device, decrypt an iOS App and transfer it to your local machine
Python script to SSH into your jailbroken device via USB, decrypt an iOS App and transfer it to your local machine
pip install paramiko
/usr/local/bin
clutch
or bfinject
setup on your device.clutch
, it should be executable from any path.bfinject
the scripts and libraries should be in the /jb/bfinject
directory. Here's how to setup bfinject
this way.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
-f [--full]: Performs the decryption, decrypted app transfer, unpacking and file organization tasks.
This will decrypt the Instagram
app and transfer it from your device to your ~/Desktop
:
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