This file is indexed.

/usr/share/pcsd/views/login.erb is in pcs 0.9.149-1.

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
<div style="width:960px;margin-top: 25px;text-align:center;">
  <% if session[:bad_login_name] %>
    <span style="color:red;font-size:24px;">Bad username or password</span>
  <% end %>
  <form action="/login" method="post">
    <table style="margin-left: auto; margin-right: auto;">
      <tr>
        <td style="text-align:right;">Username:</td>
        <td>
          <input type="text" name="username" <%=
            "value='#{h(session[:bad_login_name])}'" if session[:bad_login_name]
          %>>
        </td>
      </tr>
      <tr>
        <td style="text-align:right;">Password:</td>
        <td><input type="password" name="password"></td>
      </tr>
      <tr>
        <td align="center" colspan="2">
          <input type="submit" name="Login" value="Login">
        </td>
      </tr>
    </table>
  </form>
</div>