-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.html
More file actions
107 lines (99 loc) · 3.67 KB
/
test.html
File metadata and controls
107 lines (99 loc) · 3.67 KB
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>ERROR: No se puede conectar a esa dirección</title>
<style type="text/css" media="screen">
/* <![CDATA[ */
BODY{
background-color:#ff0000;
font-family:verdana,sans-serif
}
PRE{
font-family:sans-serif
}
.windowed{
background-color:#ff6666;
border:2px dotted #000;
width:100%;
}
/* ]]> */
</style>
</head>
<body>
<div class="windowed">
<center>
<h2>:: La siguiente dirección no está permitida ::</h2>
</center>
</div>
<hr noshade size="1px">
<div class="windowed">
<p>URL: http://www.google.com/search?ie=UTF-8&oe=UTF-8&q=sex</p>
<p>Se encontraron los siguientes errores:</p>
<ul>
<li>
<strong>Acceso denegado. Esta web no está permitida.</strong>
<p>Contacte con el administrador si cree que debería permitirse entrar..</p>
</li>
</ul>
</div>
<hr noshade size="1px">
<div class="windowed">
<p>Información extra:</p>
<ul>
<li><b>Tu dirección IP: 192.168.2.2</b></li>
<li><b>Intentando conectar a: <a href="http://www.google.com/search?ie=UTF-8&oe=UTF-8&q=sex">http://www.google.com/search?ie=UTF-8&oe=UTF-8&q=sex</a></b></li>
<li id="vars" style="display:none;">Límite configurado: <span id="limit"></span> Encontrado: <span id="found"></span> [<a href="javascript:verCausa();">ver causa</a>]</li>
<li id="lireasons" style="display:none;"><b>Razones del bloqueo:</b> <span id="reason">Límite de ponderación de frases de 50 : 1130 ((-news, report)+(-foto, satelite)+( porn, xxx)+( xxx, porn)+(amateur,
porn)+(amateur, tits)+(amateur, xxx)+(naked, xxx )+(pornstar, pics)+(pornstar, pictures)+(teen, porn)+(webcam, girl)+(webcam, porn)+(webcam, xxx )+(chicas,
sexo)+(videos, gratis)+ amateurs + boob+ nude+ porn+ xxx +amateur+-amor+big tits+boobs+free porn+free xxx+hottest+hottest pornstar+naked+-noticia+porno+ramas+sexy+xxx
latina+xxx porn)</span></li>
</ul>
</div>
<center><small><a href="http://thinetic.es">Thinetic Systems</a></small></center>
<script type="text/javascript">
var reason;
var limit="";
var found="";
var end=1;
var counter=0;
function getlimit() {
reason=document.getElementById("reason").innerHTML;
var index=reason.indexOf("frases de ");
for(var i=index+10; end==1; i++){
if (reason[i] != ' ') {
limit+=reason[i];
}
else {
index=i;
end=0;
}
}
end=1;
for(var i=index+3; end==1; i++){
if (reason[i] != ' ') {
found+=reason[i];
}
else {
end=0;
}
}
document.getElementById("limit").innerHTML=limit;
document.getElementById("found").innerHTML=found;
document.getElementById("vars").style.display="";
}
function verCausa(){
document.getElementById("lireasons").style.display="";
}
document.onload=getlimit();
</script>
</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.
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--!>