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

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

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

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!