This file is indexed.

/usr/share/rtpg-www/templates/default/add.tt.html is in rtpg-www 0.2.11-3.

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
84
85
86
87
88
89
90
91
92
93
<form action="index.cgi" method="post" enctype="multipart/form-data">
<input type="hidden" name="show" value="add" />
    <table class="source">
        <colgroup>
            <col width="15%"/>
            <col/>
            <col width="15%"/>
        </colgroup>

        <tbody>
        <tr>
            <td class="label">
                <label for="link">[% gettext('Link') %]:</label>
            </td>
            <td class="input" colspan="2">
                <textarea rows="4" name="link" id="link"
                    title="[% gettext('One link per line') %]"
                    ></textarea>
            </td>
        </tr>

        <tr>
            <td/>
            <td class="note" colspan="2">
                [%
                  gettext('Note: rTorrent don`t notify you about broken links.')
                  _ ' ' _
                  gettext('Just attempt to load this links.')
                %]
            </td>
        </tr>

        <tr>
            <td class="label">
                <label for="file">[% gettext('File') %]:</label>
            </td>
            <td class="input" colspan="2">
                <input type="file" name="file" id="file" />
            </td>
        </tr>

        <tr>
            <td class="label">
                <label for="start">[% gettext('Start torrent') %]:</label>
            </td>
            <td class="input" colspan="2">
                <input type="checkbox" name="start" id="start"
                    checked="checked" />
            </td>
        </tr>

        <tr>
            <td/>
            <td class="add">
                <button>
                    <img src="[% config.url.skin.panel %]/add.png" />
                    [% gettext('Add') %]
                </button>
            </td>
            <td class="close">
                <button class="close">
                    <img src="[% config.url.skin.panel %]/close.png" />
                    [% gettext('Close') %]
                </button>
            </td>
        </tr>
        </tbody>
    </table>
</form>

[% FOREACH result = data.result %]
    [%
        SET class = ['message'];
        IF one.error; class.push('error'); END;
    %]
    <div class="[% class.join(' ') %]">
        [% SWITCH result.type %]
            [% CASE 'file' %]
                [% gettext('Adding file') %]:
            [% CASE 'link' %]
                [% gettext('Adding link') %]:
            [% CASE DEFAULT %]
                [% gettext('Internal error') %]:
        [% END %]
        <span class="source">[% result.torrent %]</span>
        -
        [% IF result.error %]
            <span class="error">[% result.error %]</span>
        [% ELSE %]
            ... [% gettext('Done') %]
        [% END %]
    </div>
[% END %]