home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Reverse Code Engineering RCE CD +sandman 2000
/
ReverseCodeEngineeringRceCdsandman2000.iso
/
RCE
/
Seeker
/
nb_klacrew.txt
< prev
next >
Wrap
Text File
|
2000-05-25
|
2KB
|
67 lines
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY TEXT="black" BGCOLOR="#000000" LINK="#A0A0A0" VLINK="#8C8C8C" ALINK="#8C8C8C">
<center><form name=login>
<table border=0 cellpadding=0 bgcolor="#6C655A" VALIGN="center" WIDTH="50%">
<tr><td colspan=2 align="center" VALIGN=center><h2><br>Members-Only Page</h2></td></tr>
<tr><td VALIGN=center><h3><br><center>User:</center></h3></td><TD align="center" VALIGN=center><select name=memlist>
<option value='x'>
<option value='member|21203|QHTQVMFX'>member
</select></td></tr>
<tr><td VALIGN=center><h3><br><center>Pass:</center></h3></td><TD align="center" VALIGN=center><input type=password size=10 maxlength=8 name=pass></td></tr>
<tr><td colspan=2 align=center VALIGN=center><br><input type=button value="Login" onclick="check(this.form)">
<br><br></td>
</tr>
</table>
</form>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var params=new Array(4);
var alpha="ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHI";
function check(form) {
which=form.memlist.selectedIndex;
choice = form.memlist.options[which].value+"|";
if (choice=="x|") {
alert("Please Select Your Name From The List");
return;
}
p=0;
for (i=0;i<3;i++) {
a=choice.indexOf("|",p);
params[i]=choice.substring(a,p);
p=a+1;
}
h1=makehash(form.pass.value,3);
h2=makehash(form.pass.value,10)+" ";
if (h1!=params[1]) {
alert("Incorrect Password!"); return; };
var page="";
for (var i=0;i<8;i++) {
letter=params[2].substring(i,i+1)
ul=letter.toUpperCase();
a=alpha.indexOf(ul,0);
a-=(h2.substring(i,i+1)*1);
if (a<0) a+=26;
page+=alpha.substring(a,a+1); };
top.location=page.toLowerCase()+".html";
}
function makehash(pw,mult) {
pass=pw.toUpperCase();
hash=0;
for (i=0;i<8;i++) {
letter=pass.substring(i,i+1);
c=alpha.indexOf(letter,0)+1;
hash=hash*mult+c;
}
return(hash);
}
// End -->
</script>
</center>
</BODY>
</HTML>