Now that evad3rs released evasi0n to jailbreak iOS 7 we may begin testing iOS apps on iOS 7! This post will cover the steps and tools to set up your jailbroken iOS 7 device for testing mobile apps.
From the Cydia app on the device, search and install the following:
- OpenSSH
- MobileTerminal
- BigBoss Recommended Tools
- PreferenceLoader
- Applist
- iFile
- MobileSubstrate
Once all of these are installed you will want to change the root and mobile user password. You can do this through SSH or using the MobileTerminal. The default password for both accounts is: alpine
Once SSHed or on MobileTerminal you can install these other tools and scripts required for testing iOS 7 apps. You can either use wget from the terminal or SSH or download the binary to your computer and move it to the device via SCP or SFTP.
class_dump_z
- Site: https://code.google.com/p/networkpx/wiki/class_dump_z
- In terminal type:
- wget http://networkpx.googlecode.com/files/class-dump-z_0.2a.tar.gz
- tar -xvzf class-dump-z_0.2a.tar.gz
- cd iPhone_armv6/
- mv class-dump-z /usr/bin *ensures we can run it from anywhere*
Keychain Dumper
- Site: https://github.com/ptoomey3/Keychain-Dumper
- In terminal:
- chmod a+x keychain_dumper
- chmod +r /private/var/Keychains/keychain-2.db *this allows the keychain to be readable*
- mv keychain_dumper /usr/bin *ensures we can run it from anywhere*
Clutch
- Site: https://iphone-clutch.googlecode.com/files/Clutch-1.3
- In terminal:
- chmod a+x Clutch-1.3
- mv Clutch-1.3 /usr/bin/clutch
Cycript
- Site: http://www.cycript.org/debs/
- Download libffi_1-3.0.10-5_iphoneos-arm.deb and cycript_0.9.458_iphoneos-arm.deb
- In terminal:
- dpkg -i libffi_1-3.0.10-5_iphoneos-arm.deb
- dpkg -i cycript_0.9.458_iphoneos-arm.deb
TCPDump from apt-get
- In terminal:
- apt-get install tcpdump
Introspy
- Site: https://github.com/iSECPartners/Introspy-iOS
- In terminal:
- wget https://www.dropbox.com/s/z5cwqk5wti3zsvd/com.isecpartners.introspy-v0.3-iOS_6.1.deb?dl=1
- dpkg -i com.isecpartners.introspy-v0.3-iOS_6.1.deb
Snoop-it from Cydia
- Currently not working on iOS 7 due to MobileSubstrate
- Add repo: http://repo.nesolabs.de/
- https://code.google.com/p/snoop-it/
These are some of the main tools required for testing iOS 7 apps from the device. Are there any missing? Let me know!