How to check if iPhone is hacked or not from a terminal on a Mac?

I would like to execute some scripts on my Mac that the iOS device is connected to. The purpose of the script was to determine if the connected device is hacked or not. It would be great if you could offer a solution using bash or py.

+4
source share
2 answers

You can try to connect to SSH through the iPhone usbmux connection program (to forward the wired connection to the port on your computer). There is a script as well as instructions on this GitHub page

+3
source

Try https://github.com/libimobiledevice/ifuse. You can check if the device is allowed access to the root folder. If you can access the root folder, then it is definitely hacked.

It is true that jailbreak does not necessarily mean that you can access the entire file system, but all modern jailbreak solutions install the AFC2 service, which provides full access to the file system.

0
source

Source: https://habr.com/ru/post/1479691/


All Articles