Debian Codegraph @

docs/inetcat.1

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