Create extact_ipa.sh

This commit is contained in:
iddoeldor 2019-01-23 12:56:19 +02:00 committed by GitHub
parent 87a46b133e
commit c1687cd3b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

17
scripts/extact_ipa.sh Normal file
View File

@ -0,0 +1,17 @@
#!/bin/bash
# Extracting IPA from Jailbroken +Frida device
# The IPA will be @ /tmp/ios_ssh/iphonessh/python-client/frida-ios-dump/AppName.ipa
mkdir /tmp/ios_ssh
cd "$_"
sudo apt-get install libgcrypt20-doc gnutls-doc gnutls-bin usbmuxd libimobiledevice*
git clone https://github.com/rcg4u/iphonessh
cd iphonessh/python-client/
chmod +x *
python2.7 tcprelay.py -t 22:2222 &
TCP_RELAY_PID=$!
git clone https://github.com/AloneMonkey/frida-ios-dump.git
cd frida-ios-dump
git checkout origin/3.x
sudo -H pip3 install -r requirements.txt --upgrade
sudo python3.6 dump.py $1 # com.app.bundle.id
kill $TCP_RELAY_PID