Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2157 → Rev 2158

/web/pass/index.php
3,8 → 3,6
# Copyright (C) 2003, 2004 Mondru AB.
# Copyright (C) 2008-20017 ANGEL95 & REXY
 
 
 
require('/etc/freeradius-web/config.php');
 
$current_page = $_SERVER['PHP_SELF'];
121,6 → 119,7
$R_retour = "ALCASAR home page";
}
echo "
<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
<html>
<head>
<title>$R_title</title>
133,14 → 132,13
<link type=\"text/css\" href=\"../css/ie.css\" media=\"screen\" rel=\"stylesheet\" />
<![endif]-->
<script type=\"text/javascript\" src=\"js/pwdmeter.js\" language=\"javascript\"></script>
<script type=\"text/javascript\">
function valoriserDiv5(param){
document.getElementById(\"box_info\").innerHTML = param.innerHTML;
}
</script>
</head>
<script type=\"text/javascript\">
function valoriserDiv5(param){
document.getElementById(\"box_info\").innerHTML = param.innerHTML;
}
</script>
<body onload=\"valoriserDiv5(text_conn);\">
 
<div id=\"cadre_titre\" class=\"titre_controle\">
<p id=\"acces_controle\" class=\"titre_controle\">$R_title</p>
<div id=\"boite_logo\">
150,7 → 148,7
<div id=\"contenu_acces\">
<form name=\"master\" action=\"$current_page\" method=\"post\">
<input type=hidden name=action value=checkpass>
<table id=\"champs_pass\">
<table id=\"champs_pass\" border=\"1\">
<tr>
<td class=\"first_item\">$R_form_l1</td>
<td><input type=\"text\" name=\"login\" value=\"\" label=\"test\"></td>
183,13 → 181,17
<td class=\"first_item\">$R_form_l4</td>
<td><input type=\"password\" name=\"newpasswd2\" value=\"\"></td>
</tr>
<tr>
<td colspan=\"2\" id=\"lien_pass\">
<input type=\"submit\" class=\"btn_form\" id=\"btn_pass\" value=\"$R_form_button_valid\">
<input type=\"button\" class=\"btn_form\" id=\"btn_retour\" value=\"$R_form_button_retour\" onclick=\"location.replace('http://alcasar');\">
</td>
</tr>
</table>
<input type=\"submit\" class=\"btn_form\" id=\"btn_pass\" value=\"$R_form_button_valid\">
<input type=\"button\" class=\"btn_form\" id=\"btn_retour\" value=\"$R_form_button_retour\" onclick=\"location.replace('http://alcasar');\">
</div>
</div>
<div id=\"info_pass\">
<table id=\"tablePwdStatus\" cellpadding=\"5\" cellspacing=\"1\" border=\"0\">
<table id=\"tablePwdStatus\" cellpadding=\"5\" cellspacing=\"1\" border=\"0\">
<tr>
<th colspan=\"2\">Additions</th>
<th class=\"txtCenter\">Type</th>
360,15 → 362,8
&bull; Score and Complexity ratings are not conditional on meeting minimum requirements.<br />
</td>
</tr>
<tr>
<th>DISCLAIMER</th>
</tr>
<tr>
<td>
<p>This application is designed to assess the strength of password strings. The instantaneous visual feedback provides the user a means to improve the strength of their passwords, with a hard focus on breaking the typical bad habits of faulty password formulation. Since no official weighting system exists, we created our own formulas to assess the overall strength of a given password. Please note, that this application does not utilize the typical \"days-to-crack\" approach for strength determination. We have found that particular system to be severely lacking and unreliable for real-world scenarios. This application is neither perfect nor foolproof, and should only be utilized as a loose guide in determining methods for improving the password creation process. </p>
</td>
</tr>
</table>
</div>
";
 
if (is_file("sql/drivers/$config[sql_type]/functions.php"))