318 |
richard |
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
|
2 |
<HTML><!-- written by Rexy -->
|
|
|
3 |
<HEAD>
|
|
|
4 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
|
5 |
<?
|
|
|
6 |
$bl_dir="/etc/dansguardian/lists/blacklists/";
|
|
|
7 |
# Choice of language
|
|
|
8 |
$Language = 'en';
|
|
|
9 |
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){
|
|
|
10 |
$Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
|
|
|
11 |
$Language = strtolower(substr(chop($Langue[0]),0,2)); }
|
|
|
12 |
if($Language == 'fr'){
|
|
|
13 |
$l_title = "Catégories de la liste noire";
|
|
|
14 |
$l_error_open_file="Erreur d'ouverture du fichier";
|
|
|
15 |
$l_close="Fermer";
|
|
|
16 |
$l_unknown_cat="Cette catégorie n'est pas décrite";
|
|
|
17 |
$l_nb_domains="Nombre de noms de domaine filtrés :";
|
|
|
18 |
$l_nb_urls="Nombre d'URL filtrés :";
|
|
|
19 |
$l_explain_adult="Sites relatifs à l'érotisme et à la pornographie";
|
|
|
20 |
$l_explain_agressif="Sites extrémistes, racistes, antisémites ou incitant à la haine";
|
640 |
richard |
21 |
$l_explain_arjel="Sites de pari en ligne certifies par l'ARJEL (Autorité de Régulation des Jeux En Ligne)";
|
318 |
richard |
22 |
$l_explain_astrology="Sites relatifs à l'astrologie";
|
640 |
richard |
23 |
$l_explain_bank="Sites de banques en ligne";
|
318 |
richard |
24 |
$l_explain_audio_video="Sites de téléchargement de fichiers audio et vidéo";
|
|
|
25 |
$l_explain_blog="Sites d'hébergement de blogs";
|
|
|
26 |
$l_explain_celebrity="Sites « people », stars, etc.";
|
|
|
27 |
$l_explain_chat="Sites de dialogue en ligne";
|
|
|
28 |
$l_explain_child="Sites pour enfants";
|
|
|
29 |
$l_explain_cleaning="Sites relatifs à la mise à jour logicielle ou antivirale";
|
640 |
richard |
30 |
$l_explain_dangerous_material="Sites relatifs à la création de produits dangereux (explosif, poison, etc.)";
|
|
|
31 |
$l_explain_dating="Sites de rencontres en ligne";
|
|
|
32 |
$l_explain_drogue="Sites relatifs aux produits stupéfiants";
|
318 |
richard |
33 |
$l_explain_filehosting="Entrepôts de fichiers (vidéo, images, son, logiciels, etc.)";
|
|
|
34 |
$l_explain_financial="Sites d'informations financières, bourses, etc.";
|
|
|
35 |
$l_explain_forums="Sites d'hébergement de forums de discussion";
|
640 |
richard |
36 |
$l_explain_gambling="Sites de jeux d'argent en ligne (casino, grattage virtuel, etc.)";
|
318 |
richard |
37 |
$l_explain_games="Sites de jeux en ligne";
|
640 |
richard |
38 |
$l_explain_hacking="Sites relatifs au piratage informatique";
|
|
|
39 |
$l_explain_jobsearch="Sites de recherche d'emplois";
|
318 |
richard |
40 |
$l_explain_liste_bu="Liste de sites éducatifs pour bibliothèque";
|
640 |
richard |
41 |
$l_explain_malware="Site relatifs au logiciels malveillants (virus, vers, trojans, etc.)";
|
318 |
richard |
42 |
$l_explain_manga="Site de Mangas";
|
640 |
richard |
43 |
$l_explain_marketingware="Sites marchands douteux (X, organes, enfants, etc.)";
|
|
|
44 |
$l_explain_mixed_adult="Sites pour adultes (image-choc, gore, guerre, etc.)";
|
318 |
richard |
45 |
$l_explain_mobile_phone="Sites relatifs aux mobiles GSM (sonneries, logos, etc.)";
|
878 |
richard |
46 |
$l_explain_ossi="Noms de domaine et URLs que vous ajoutez à la liste noire (voir ci-dessous)";
|
640 |
richard |
47 |
$l_explain_phishing="Sites relatifs à l'hammeçonnage (pièges bancaires, redirection, etc.)";
|
318 |
richard |
48 |
$l_explain_press="Sites de presse";
|
|
|
49 |
$l_explain_publicite="Sites ou bannières publicitaires";
|
|
|
50 |
$l_explain_radio="Sites de radios en ligne ou de podcast";
|
|
|
51 |
$l_explain_reaffected="Sites connus ayant changé de propriétaire (et donc de contenu)";
|
640 |
richard |
52 |
$l_explain_redirector="Sites de redirection, d'anonymisation ou de contournement";
|
318 |
richard |
53 |
$l_explain_remote_control="Sites permettant la prise de controle a distance";
|
640 |
richard |
54 |
$l_explain_sect="Sites sectaires";
|
|
|
55 |
$l_explain_social_networks="Sites de réseaux sociaux";
|
318 |
richard |
56 |
$l_explain_sexual_education="Sites relatifs à l'éducation sexuelle";
|
|
|
57 |
$l_explain_shopping="Sites de vente et d'achat en ligne";
|
640 |
richard |
58 |
$l_explain_sport="Sites de sport";
|
318 |
richard |
59 |
$l_explain_strict_redirector="URL intentionnellement mal formées";
|
|
|
60 |
$l_explain_strong_redirector="URL mal formées dans une requête « google »";
|
|
|
61 |
$l_explain_tricheur="Sites relatifs aux tricheries (examens, concours, etc.)";
|
640 |
richard |
62 |
$l_explain_webmail="Site WEB permettant de consultation son courrier électronique";
|
318 |
richard |
63 |
$l_explain_warez="Sites relatifs aux logiciels piratés (crackés), aux générateurs de clés, etc.";
|
|
|
64 |
}
|
|
|
65 |
else {
|
|
|
66 |
$l_title = "Blacklist categories";
|
|
|
67 |
$l_error_open_file="Error opening the file";
|
|
|
68 |
$l_close="Close";
|
|
|
69 |
$l_unknown_cat="This category isn't describe";
|
|
|
70 |
$l_nb_domains="Number of filtered domain names :";
|
|
|
71 |
$l_nb_urls="Number of filtered URL :";
|
|
|
72 |
$l_explain_adult="Sites related to eroticism and pornography";
|
|
|
73 |
$l_explain_agressif="Sites extremist, racist, anti-Semitic or hate";
|
640 |
richard |
74 |
$l_explain_arjel="Online gambling sites allowed by the french authority 'ARJEL' (Autorité de Régulation des Jeux En Ligne)";
|
318 |
richard |
75 |
$l_explain_astrology="Sites related to astrology";
|
|
|
76 |
$l_explain_audio_video="Sites for downloading audio and video";
|
640 |
richard |
77 |
$l_explain_bank="Online bank sites";
|
318 |
richard |
78 |
$l_explain_blog="Sites hosting blogs";
|
|
|
79 |
$l_explain_celebrity="Sites « people », stars, etc.";
|
|
|
80 |
$l_explain_chat="Online chat sites";
|
|
|
81 |
$l_explain_child="Sites for children";
|
|
|
82 |
$l_explain_cleaning="Sites related to software update or antiviral";
|
640 |
richard |
83 |
$l_explain_dangerous_material="Sites related to the creation of dangerous goods (explosives, poison, etc.)";
|
|
|
84 |
$l_explain_dating="Online dating sites";
|
|
|
85 |
$l_explain_drogue="Sites related to narcotic";
|
318 |
richard |
86 |
$l_explain_filehosting="Warehouses of files (video, images, sound, software, etc.)";
|
|
|
87 |
$l_explain_financial="Sites of financial information";
|
|
|
88 |
$l_explain_forums="Sites hosting discussion forums";
|
640 |
richard |
89 |
$l_explain_gambling="Online gambling sites (casino, virtual scratching, etc.)";
|
318 |
richard |
90 |
$l_explain_games="Online games sites";
|
640 |
richard |
91 |
$l_explain_hacking="Sites related to hacking";
|
|
|
92 |
$l_explain_jobsearch="Job search sites";
|
318 |
richard |
93 |
$l_explain_liste_bu="List of educational sites for library";
|
640 |
richard |
94 |
$l_explain_malware="Malware sites (viruses, worms, trojans, etc.).";
|
318 |
richard |
95 |
$l_explain_manga="Manga site";
|
640 |
richard |
96 |
$l_explain_marketingware="doubtful commercial sites";
|
|
|
97 |
$l_explain_mixed_adult="Adult sites (shock, gore, war, etc.).";
|
318 |
richard |
98 |
$l_explain_mobile_phone="Sites related to GSM mobile (ringtones, logos, etc.)";
|
878 |
richard |
99 |
$l_explain_ossi="Domain names and URLs you add to the blacklist (see below)";
|
640 |
richard |
100 |
$l_explain_phishing="Phishing sites (traps banking, redirect, etc..)";
|
318 |
richard |
101 |
$l_explain_press="News sites";
|
|
|
102 |
$l_explain_publicite="Advertising sites";
|
|
|
103 |
$l_explain_radio="Online radio podcast sites";
|
|
|
104 |
$l_explain_reaffected="Sites that have changed ownership (and therefore content)";
|
640 |
richard |
105 |
$l_explain_redirector="redirects, anonymization or bypass sites";
|
318 |
richard |
106 |
$l_explain_remote_control="Sites for making remote control";
|
640 |
richard |
107 |
$l_explain_sect="Sectarian sites";
|
|
|
108 |
$l_explain_social_networks="Social networks sites";
|
318 |
richard |
109 |
$l_explain_sexual_education="Sites related to sex education";
|
|
|
110 |
$l_explain_shopping="Shopping sites and online shopping";
|
640 |
richard |
111 |
$l_explain_sport="Sport sites";
|
318 |
richard |
112 |
$l_explain_strict_redirector="Intentionally malformed URL";
|
|
|
113 |
$l_explain_strong_redirector="Malformed URL in a 'google' query";
|
|
|
114 |
$l_explain_tricheur="Sites related to cheating (tests, examinations, etc.)";
|
640 |
richard |
115 |
$l_explain_webmail="Web sites for e-mail consultation";
|
318 |
richard |
116 |
$l_explain_warez="Sites related to cracked softwares";
|
|
|
117 |
}
|
|
|
118 |
if (isset($_GET['cat'])){$categorie=$_GET['cat'];}
|
|
|
119 |
$bl_categorie_domain_file=$bl_dir.$categorie."/domains";
|
|
|
120 |
$bl_categorie_url_file=$bl_dir.$categorie."/urls";
|
|
|
121 |
if (file_exists($bl_categorie_domain_file))
|
|
|
122 |
$nb_domains=exec ("wc -w $bl_categorie_domain_file|cut -d' ' -f1");
|
|
|
123 |
else
|
|
|
124 |
$nb_domains=$l_error_openfilei." ".$bl_categorie_domain_file;
|
|
|
125 |
if (file_exists($bl_categorie_url_file))
|
|
|
126 |
$nb_urls=exec ("wc -w $bl_categorie_url_file|cut -d' ' -f1");
|
|
|
127 |
else
|
|
|
128 |
$nb_urls=$l_error_openfile." ".$bl_categorie_url_file;
|
|
|
129 |
echo "<TITLE>$l_title</TITLE>";
|
|
|
130 |
?>
|
|
|
131 |
<link rel="stylesheet" href="/css/style.css" type="text/css">
|
|
|
132 |
</HEAD>
|
|
|
133 |
<body>
|
|
|
134 |
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
135 |
<tr><th><?php echo $categorie ;?></th></tr>
|
|
|
136 |
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr>
|
|
|
137 |
</TABLE>
|
|
|
138 |
<TABLE width="100%" border=1 cellspacing=0 cellpadding=1>
|
|
|
139 |
<tr><td valign="middle" align="left">
|
|
|
140 |
<?php
|
|
|
141 |
$compat_categorie=strtr($categorie,"-","_");
|
|
|
142 |
if (!empty(${'l_explain_'.$compat_categorie}))
|
|
|
143 |
echo "<center><b>${'l_explain_'.$compat_categorie}</b></center>";
|
|
|
144 |
else echo "$l_unknown_cat";
|
|
|
145 |
echo "<br>$l_nb_domains <b>$nb_domains</b><br>";
|
|
|
146 |
echo "$l_nb_urls <b>$nb_urls</b><br>";
|
|
|
147 |
?>
|
|
|
148 |
</td></tr>
|
|
|
149 |
</TABLE>
|
|
|
150 |
<br>
|
|
|
151 |
<center><a href="javascript:window.close();"><b><?php echo "$l_close"; ?></b></a></center>
|
|
|
152 |
</BODY>
|
|
|
153 |
</HTML>
|