This file is indexed.

/usr/share/doc/radare-doc/html/Chapter7.html is in radare-doc 1:1.5.2-4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=US-ASCII">
<title>Remoting capabilities</title>
<link rel="previous" href="Section6.2.html">
<link rel="ToC" href="contents.html">
<link rel="next" href="Chapter8.html">
</head>
<body>
<h1><a name="remote"></a>Chapter 7: Remoting capabilities</h1>
<p>
Radare can work locally or remotelly without hard differences. The reason is that everything remains on the IO subsystem that abstracts the access to system(), cmd() and all basic IO operations thru the network.
</p>
<p>
Here's the help of the command:
</p>
<pre><code>[0xB803C7F0]&gt; =?
 =                  ; list all open connections
 =&lt;[fd] cmd         ; send output of local command to remote fd
 =[fd] cmd          ; exec cmd at remote 'fd' (last open is default one)
 =+ [proto://]host  ; add host (default=rap://, tcp://, udp://)
 =-[fd]             ; remove all hosts or host 'fd'
 ==[fd]             ; open remote session with host 'fd', 'q' to quit
</code></pre>
<p>
lets introduce the command with a little example :) A typical remote session could be:
</p>
<pre><code>- At remote host1:
$ radare listen://:1234

- At remote host2:
$ radare listen://:1234

- At localhost:
$ radare &lt;bin&gt;

; Add hosts
]&gt; =+ rap://&lt;host1&gt;:1234//bin/ls
Connected to: &lt;host1&gt; at port 1234
waiting... ok
5 - rap://&lt;host1&gt;:1234//bin/ls

; Of course, you can open remote files in debug mode (or using any io
; plugin) specifying the uri when adding hosts: 
]&gt; =+ rap://&lt;host2&gt;:1234/dbg:///bin/ls
Connected to: &lt;host2&gt; at port 1234
waiting... ok
5 - rap://&lt;host1&gt;:1234//bin/ls
6 - rap://&lt;host2&gt;:1234/dbg:///bin/ls

; Exec commands in host1
]&gt; =5 px
]&gt; = s 0x666
...

; Open a session with host2
]&gt; ==6
fd:6&gt; !cont entrypoint
...
fd:6&gt; q

; Remove hosts (and close connections)
]&gt; =-
</code></pre>
<p>
So, you can init tcp or udp servers, add them with '=+ tcp://' or '=+ udp://', and then redirect to them the radare output. For instance:
</p>
<pre><code>]&gt; =+ tcp://&lt;host&gt;:&lt;port&gt;/
Connected to: &lt;host&gt; at port &lt;port&gt;
5 - tcp://&lt;host&gt;:&lt;port&gt;/
]&gt; =&lt;5 cmd...
</code></pre>
<p>
The '=&lt;' command will send the result of the execution of the command at the right to the remote connection number N (or the last one used if no id specified).
</p>

<!-- version IDs:
$Id: radare.but 2009-04-25 pancake $
-->
</body>
</html>