This file is indexed.

/etc/dansguardian/languages/chinesegb2312/template.html is in dansguardian 2.10.1.1-5.

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
<HTML><HEAD><TITLE>DansGuardian - Access Denied</TITLE></HEAD>
<BODY>
<CENTER><H2>·ÃÎʱ»¾Ü¾ø -USER-</H2>
<br>·ÃÎʸÃÍøÒ³:<P>
<strong><a href="-URL-">-URL-</a></strong>
<P>... ÒòÒÔÏÂÔ­Òò¶ø±»¾Ü¾ø:<P>
<strong><font color="#ff0000">-REASONGIVEN-</font></strong>
<p><table border=1 bgcolor="#FFEE00"><tr><td>³öÏÖÕâ¸ö´íÎóÐÅÏ¢µÄÔ­ÒòÊÇÓÉÓÚÄúÆóͼ·ÃÎʵÄÍøÒ³º¬Óв»Êʵ±µÄÄÚÈÝ¡£</td></tr></table>
<P><table border=1 bgcolor="#44dd44"><tr><td>ÈçÓÐÈκÎÒÉÎÊ£¬ÇëÁªÏµÄúµÄ ICT Эµ÷ÈËÔ±»òÍø¹Ü¡£</td></tr></table>

<P><font size=-3>Powered by <a href="http://dansguardian.org" target="_blank">DansGuardian</a></font>
</center>
</BODY>
</HTML>
<!--
The available variables are as follows:
- URL- gives the URL the user was trying to get to.
- REASONGIVEN- gives the nice reason (i.e. not quoting the banned phrase).
- REASONLOGGED- gives the reason that gets logged including full details.
- USER- gives the username if known.
- IP- gives the originating IP.
- FILTERGROUP- gives the group number.
- BYPASS- gives URL which allows temporary bypass of denied page


You need to remove the space between the - and the variable to use them
in your HTML.  They are there above so extra processing is not required.

More example templates are likely to be found on the DansGuardian web site
on the Extras page.

Daniel Barron 2002-03-27
--!>