This file is indexed.

/usr/share/netdisco/html/sidebar.html is in netdisco-frontend 1.0-2.

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
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<ul class="sidebar-bg">
    <li CLASS="sidebar-<% ++$odd%2 %>">
    <A HREF="<%$path%>/index.html">
% my $width = 82;
% my $height = 90;
% my $src = $path . "/netdiscoball.gif";
% my $alt = "[Disco Ball]";
% if (defined $netdisco::CONFIG{customericon}) {
%    my ($iconname, $iconwidth, $iconheight) = split(/\s*,\s*/, $netdisco::CONFIG{customericon});
%    $src = ($iconname =~ m|/|) ? $iconname : $path . "/" . $iconname;
%    $width = $iconwidth if defined($iconwidth);
%    $height = $iconheight if defined($iconheight);
%    $alt = "[Home]";
% }
      <IMG SRC="<%$src%>" style="border: 0;" width=<%$width%> height=<%$height%> alt="<%$alt%>">
    </A><BR>
    </li>
    <li CLASS="sidebar-<% ++$odd%2 %>">
    <A CLASS="navbutton" HREF="<%$path%>/netmap.html">Network Map</A>
    </li>
    <li CLASS="sidebar-<% ++$odd%2 %>">
    <FORM ACTION="<%$path%>/device.html" METHOD=GET>
    <div>
    <A CLASS="navbutton" HREF="<%$path%>/device_search.html">Device Search</A><BR>
    <INPUT TYPE="text" size=15 maxlength=255 NAME="ip" TITLE="Enter the DNS or IP of a device and hit return.">
    </div>
    </FORM>
    </li>
    <li CLASS="sidebar-<% ++$odd%2 %>">
    <A CLASS="navbutton" HREF="<%$path%>/device_inv.html">Device Inventory</A>
    </li>
    <li CLASS="sidebar-<% ++$odd%2 %>">
    <FORM ACTION="<%$path%>/node.html" METHOD=GET>
    <div>
    <A CLASS="navbutton" HREF="<%$path%>/node.html">Node Search</A><BR>
    <INPUT TYPE="text" size=15 maxlength=255 NAME="node" TITLE="IP, DNS, MAC, NetBios  * and ? are wildcards.">
    </div>
    </FORM>
    </li>
% if ($port_info) {
    <li CLASS="sidebar-<% ++$odd%2 %>">
    <A CLASS="navbutton" HREF="<%$path%>/jack_search.html" TITLE="Search Pinnacles Database">Jack Search</A>
    </li>
% }
    <li CLASS="sidebar-<% ++$odd%2 %>">
    <A CLASS="navbutton" HREF="<%$path%>/port_report.html" TITLE="Search and Report on switch ports that have been administratively disabled.">Port Report</A>
    </li>
    <li CLASS="sidebar-<% ++$odd%2 %>">
     <FORM ACTION="<%$path%>/device_search.html" METHOD=GET>
     [Vlan Hunt]<BR>
     <INPUT TYPE="hidden" NAME="specific" VALUE="vlan">
     <INPUT TYPE="text" size=10 maxlength=4 NAME="vlan" TITLE="Vlan number">
     </FORM>
    </li>
%#    <li CLASS="sidebar-<% ++$odd%2 %>">
%#    <A CLASS="navbutton" HREF="<%$path%>/traceroute.html">Layer 2 Traceroute</A>
%#    </li>
    <li CLASS="sidebar-<% ++$odd%2 %>">
    <A CLASS="navbutton" HREF="<%$path%>/duplex.html">Duplex Mismatch Finder</A>
    </li>
    <li CLASS="sidebar-<% ++$odd%2 %>">
    <A CLASS="navbutton" HREF="<%$path%>/ip_search.html" TITLE="Show inventory of IP Address space or Netbios Domains">Node Inventory</A>
    </li>
    <li CLASS="sidebar-<% ++$odd%2 %>">
    <A CLASS="navbutton" HREF="<%$path%>/log.html">Backend Log</A>
    </li>
    <li CLASS="sidebar-<% ++$odd%2 %>">
    <A CLASS="navbutton" HREF="<%$path%>/doc">Documentation</A>
    </li>
% if ($admin and $secure) {
    <li CLASS="sidebar-<% ++$odd%2 %>">
    <A CLASS="navbutton" HREF="<%$path%>/admin.html">Administration Panel</A>
    </li>
% }
    <li CLASS="sidebar-<% ++$odd%2 %>">
    <A CLASS="navbutton" HREF="<%$path%>/stats.html">About</A>
    </li>
    <li CLASS="sidebar-<% ++$odd%2 %>">
% if ($secure and $netdisco::CONFIG{secure_server} ) {
<IMG SRC="<%$path%>/icon_lock.gif" ALT="Secure Connection" TITLE="Secure Connection" HEIGHT=15 WIDTH=15>
% } elsif (!$secure) {
<A HREF="<%$url%>" ALT="Switch to Secure Connection for more features" TITLE="Switch to Secure Connection for more features"><IMG SRC="<%$path%>/icon_up.gif" WIDTH=11 HEIGHT=10 BORDER=0></A> 
% }

% if ($user) {
    User <TT><%$user%></TT> <A CLASS="navbutton" HREF="<%$path%>/logout.html">Logout</A>
%   if ($useuserdb) {
    <BR><A CLASS="navbutton" HREF="<%$path%>/change_pw.html">Change Password</A>
%   } else {
    <BR><A CLASS="navbutton" HREF="<%$path%>/login.html">Netdisco Login</A>
%   }
% } else {
%   if ($netdisco::CONFIG{apache_auth}) {
    <A CLASS="navbutton" HREF="<%$path%>/apache_login.html">Login</A>
    <BR><A CLASS="navbutton" HREF="<%$path%>/login.html">Netdisco Login</A>
%   } else {
    <A CLASS="navbutton" HREF="<%$path%>/login.html">Login</A>
%   }
%}
    </li>
</ul>
<%once>
</%once>
<%shared>
my $odd    = 0;
my $path   = $netdisco::CONFIG{webpath};
my $user   = $m->session->{user};
my $secure = &is_secure;
my $admin  = $m->session->{user_admin};
my $useuserdb = $m->session->{useuserdb};
my $port_info = (defined $netdisco::CONFIG{port_info} and $netdisco::CONFIG{port_info} =~ /^(1|t|y)/i) ? 1 : 0;
my $url    = $r->uri;
my $args   = $r->args;
$url .= "?$args" if (defined $args and length($args));
$url = url_secure($url);
</%shared>
%# $Id: sidebar.html,v 1.26 2007/12/14 02:18:26 maxbaker Exp $
%# vim:syntax=mason