To conduct a security assessment of an iOS application, we will need to access the iDevice's filesystem and keychain data, hook debuggers to applications, and so on. It's not possible to perform iOS app pentesting with so many restrictions and this is the point where we need to jailbreak the iDevice in order to bypass security restrictions provided by iOS.
Jailbreaking is exploiting the iOS vulnerability and maintaining root access on the device by installing utilities on it. Finding a jailbreak is itself an in-depth topic and beyond the scope of this book. We will only learn how to jailbreak iDevices with the available jailbreaking utilities.
Jailbreaking allows us to do the following: