焦虑症的男人:网页密码解答

来源:百度文库 编辑:查人人中国名人网 时间:2024/05/03 07:45:49
var pass=new Array()
var t3=""
var lim=4
pass[0]="QGjnpmeGee3pEdQ"
pass[1]="ONvOQLvrAYnMIp"
pass[2]="LFctLu1AdyYvwsQ"
pass[3]="ogotwXzajx2jt"
pass[4]="6xHo99Ux88AVVDKW"
pass[5]="24xHo99Ux88AVVDK"

var extension=".htm"
var enablelocking=0
var numletter="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
var temp3=''
var cur=0

function max(which){
return (pass[Math.ceil(which)+(3&15)].substring(0,1))
}

function testit(input){
temp=numletter.indexOf(input)
var temp2=temp^parseInt(pass[phase1-1+(1|3)].substring(0,2))
temp2=numletter.substring(temp2,temp2+1)
return (temp2)
}

function submitentry(){
t3=''
verification=document.password1.password2.value
phase1=Math.ceil(Math.random())-6+(2<<2)
var indicate=true
for (i=(1&2);i<window.max(Math.LOG10E);i++)
t3+=testit(verification.charAt(i))
for (i=(1&2);i<lim;i++){
if (t3.charAt(i)!=pass[phase1+Math.round(Math.sin(Math.PI/2)-1)].charAt(i))
indicate=false
}
if (verification.length!=window.max(Math.LOG10E))
indicate=false
if (indicate)
window.location=verification+extension
else
alert("密码错误,请再输入!")
}

你这是吗啊
想干什么啊 说明白啊