This file is indexed.

/usr/share/bcfg2/Hostbase/templates/results.html is in bcfg2-server 1.3.3-1ubuntu3.

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
{% extends "base.html" %}

{% block pagebanner %}
  <div class="header">
      <h2>Search Results</h2>
  </div>
  <br/>
{% endblock %}

{% block sidebar %}
{% include "navbar.tmpl" %}
{% include "logout.tmpl" %}
{% endblock %}

{% block content %}

{% if hosts %}
<table border="0" width="100%">
   <colgroup>
   <col width="200">
   <col width="75">
   <col width="50">
   <col width="50">
   <col width="50">
   <col width="*">
   <tr> <td><b>hostname</b></td>
   <td> <b>status</b> </td>
   </tr>
   {% for host in hosts %}
   <tr> <td>{{ host.0 }}</td>
   <td> {{ host.2 }} </td>
   <td> <a href="{{ host.1 }}">view</a> </td>
   <td> <a href="{{ host.1 }}/edit">edit</a> </td>
   <td> <a href="{{ host.1 }}/copy">copy</a> </td>
   <td> <a href="{{ host.1 }}/logs">logs</a> </td>
<!--   <td> <a href="{{ host.1 }}/remove">remove</a> </td> -->
   </tr>
   {% endfor %}
</table>
{% else %}
No hosts matched your query<br>
Click the back button on your browser to edit your search
{% endif %}

{% endblock %}