<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>
<script language="javascript" src="md5.js"></script>
<script language="javascript">
<!--
function MD5(s) {
return s;
}
function doChallengeResponse() {
str = document.login.username.value + ":" +
MD5(document.login.password.value) + ":" +
document.login.challenge.value;
document.login.response.value = MD5(str);
document.login.password.value = "";
document.logintrue.username.value = document.login.username.value;
document.logintrue.response.value = document.login.response.value;
document.logintrue.submit();
return false;
}
// -->
</script>
<FORM NAME="login" ACTION="test2.html" METHOD=post onSubmit="doChallengeResponse()">
Username:<INPUT TYPE="text" name="username" VALUE="" SIZE=10 MAXLENGTH=32><BR>
Password:<INPUT TYPE="password" NAME="password" SIZE=10 MAXLENGTH=32><BR>
<INPUT TYPE="submit" NAME="submitbtn" VALUE="Login">
<INPUT TYPE="hidden" NAME="challenge" VALUE="77c88ac0ee7756314412793e282074d8">
<INPUT TYPE="hidden" NAME="response" VALUE="">
</FORM>
<FORM NAME="logintrue" ACTION="test2.html" METHOD=post>
<INPUT TYPE="hidden" NAME="username" VALUE="">
<INPUT TYPE="hidden" NAME="challenge" VALUE="77c88ac0ee7756314412793e282074d8">
<INPUT TYPE="hidden" NAME="response" VALUE="">
</FORM>
</BODY>
</HTML>