Information Technology Reference
In-Depth Information
Establishing communication with the device
The custom ramdisk booted onto the iPhone contains an SSH server, which will allow re-
mote command-line access to the device through the USB protocol. The USB multiplexing
daemon ( usbmuxd ), a background daemon in Apple's mobile device framework, is used to
tunnel the TCP socket connection over the USB protocol to a local TCP socket listening on
the device. In this case, run tcprelay.py , as shown in the following command line, to
connect to the SSH server that is running on the custom ramdisk:
$python usbmuxd-python-client/tcprelay.py -t 22:2222
1999:1999
Forwarding local port 2222 to remote port 22
Forwarding local port 1999 to remote port 1999
Other python scripts included in iPhone Data Protection Tools communicate with the
device over SSH. So, you should keep running tcprelay.py in another terminal until
you acquire data from the device.
Search WWH ::




Custom Search