1inetcat(1) General Commands Manual inetcat(1)
2
3
4
6 inetcat - Opens a read/write interface via STDIN/STDOUT to a TCP port
7 on a usbmux device
8
10 inetcat [OPTIONS] <DEVICE_TCP_PORT>
11
13 inetcat is a simple netcat-like tool that allows opening a read/write
14 interface to a TCP port on a usbmux device and exposing it via
15 STDIN/STDOUT.
16
18 -u, --udid UDID
19 Target specific device by UDID. Note that if this option is not
20 specified, inetcat will connect to the first device found.
21
22 -n, --network
23 Connect to network device. The device needs to have WiFi sync
24 enabled and needs to be paired with this computer for this to
25 work. Please note that a device might close connections at any
26 time to save power. This option will make inetcat connect to
27 network attached devices only, unless -l is passed too (see be‐
28 low).
29
30 -l, --local
31 Connect to USB device. This is the default if no option is
32 passed. If used together with -n, inetcat will first attempt a
33 connection to a device attached via USB, and if not available
34 attempt to reach a device via network.
35
36 -h, --help
37 Prints usage information.
38
39 -d, --debug
40 Increase debug level.
41
43 Use ssh ProxyCommand to connect to a jailbroken iOS device via SSH:
44
45 $ ssh -oProxyCommand="inetcat 22" root@localhost
46
47 Used in SSH config file to connect to iOS Device:
48
49 $ cat ~/.ssh/config Host myiphone
50 User root
51 ProxyCommand "icat 22 UDID_of_my_iphone" $ ssh myiphone
52
53
55 Adrien Guinet
56
58 iproxy(1)
59
61 https://libimobiledevice.org
62
63 https://github.com/libimobiledevice/libusbmuxd
64
65
66
67 inetcat(1)