Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 3192 → Rev 3193

/web/acc/admin/bl_filter.php
227,7 → 227,6
$bl_categories_enabled=$dir_etc."alcasar-bl-categories-enabled";
$conf_file=$dir_etc."alcasar.conf";
$domainfilter_file="/etc/unbound/conf.d/blacklist/domainfilter.conf";
$bannedsite_file=$dir_dg."bannedsitelist";
$dir_tmp="/tmp/blacklists";
$update_file_cat="/usr/local/etc/update_cat.conf";
$update_file_ossi_cat="/usr/local/etc/update_ossi_cat.conf";
291,11 → 290,11
fputs($fichier, form_filter($_POST['OSSI_bl']));
fclose($fichier);
unset($_POST['OSSI_bl']);
$fichier=fopen($dir_dg."exceptionsitelist","w+");
$fichier=fopen($dir_dg."group1/exceptionsitelist","w+");
fputs($fichier, form_filter($_POST['BL_rehabilited_domains']));
fclose($fichier);
unset($_POST['BL_rehabilited_domains']);
$fichier=fopen($dir_dg."exceptioniplist","w+");
$fichier=fopen($dir_dg."group1/exceptioniplist","w+");
fputs($fichier, form_filter($_POST['BL_rehabilited_ip']));
fclose($fichier);
unset($_POST['BL_rehabilited_ip']);
462,12 → 461,12
echo "<tr><td width=50% colspan=5 align=center>";
echo "<H3>$l_rehabilitated_dns</H3>$l_rehabilitated_dns_explain<BR>$l_one_dns<BR>";
echo "<textarea name='BL_rehabilited_domains' rows=3 cols=40>";
echo_file ($dir_dg."exceptionsitelist");
echo_file ($dir_dg."group1/exceptionsitelist");
echo "</textarea></td>";
echo "<td width=50% colspan=5 align=center>";
echo "<H3>$l_rehabilitated_ip</H3>$l_rehabilitated_ip_explain<BR>$l_one_ip<BR>";
echo "<textarea name='BL_rehabilited_ip' rows=3 cols=40>";
echo_file ($dir_dg."exceptioniplist");
echo_file ($dir_dg."group1/exceptioniplist");
echo "</textarea></td></tr>";
echo "<tr><td valign='middle' align='left' colspan=10>";
echo "<center><b>$l_add_to_bl</b></center></td></tr>";
/web/acc/admin/wl_filter.php
165,7 → 165,6
$wl_categories_enabled=$dir_etc."alcasar-wl-categories-enabled";
$conf_file=$dir_etc."alcasar.conf";
$domainfilter_file="/etc/unbound/conf.d/whitelist/domainfilter.conf";
$bannedsite_file=$dir_dg."bannedsitelist";
$dir_tmp="/tmp/blacklists";
$wl_safesearch="off";
 
/web/acc/manager/htdocs/activity.php
190,9 → 190,9
echo "<td>".$nb_ligne."</td>";
echo "<td>".$detail[1]."</td>"; // @IP
echo "<td>$detail[0]"; // @MAC
if(file_exists('/usr/local/share/nmap-mac-prefixes')){ // retrieve @MAC manufacturer
if(file_exists('/usr/share/nmap/nmap-mac-prefixes')){ // retrieve @MAC manufacturer
$oui_id = substr(str_replace("-","",$detail[0]),0,6);
exec ("grep $oui_id /usr/local/share/nmap-mac-prefixes | cut -f2", $mac_manufacturer);
exec ("grep $oui_id /usr/share/nmap/nmap-mac-prefixes | cut -f2", $mac_manufacturer);
if(! empty($mac_manufacturer[0])) echo " <font size=\"1\">($mac_manufacturer[0])</font>";
else echo " <font size=\"1\">($l_unknown)</font>";
unset($mac_manufacturer);
/web/acc/phpsysinfo/README.ALCASAR
2,5 → 2,6
- remove folders "tools", "sample", "plugins", "js/vendor"
- in "/" : remove "composer.json", "phpsysinfo.xslt", "phpsysinfo3.xsd", "Dockerfile"
: rename & adapt phpsysinfo.ini
- in folder "templates" : remove all except "aqua", "aqua.css", "html" & "plugin". "Aqua.css" has been adapted
- language/language.php : has been modified ($lang is set by the web browser conf)
- in "templates" : remove all except "aqua", "aqua.css", "html" & "plugin". "Aqua.css" has been adapted
- in "language" : language.php : has been modified ($lang is set by the web browser conf)
- in "templates/html/index" (at the end) remove the link <a=href></a> on the phpsysinfo version.
/web/acc/phpsysinfo/templates/html/index_dynamic.html
273,7 → 273,7
<div id="ups" class="halfsize" style="display:none;">
</div>
<div id="footer">
<span class="lang_047">Generated by</span>&nbsp;<a href="http://phpsysinfo.sourceforge.net/" target="psihref">phpSysInfo&nbsp;-&nbsp;<span id="version"></span></a>
<span class="lang_047">Generated by</span>&nbsp;phpSysInfo&nbsp;-&nbsp;<span id="version"></span>
</div>
</div>
</body>