等等,有问题,他的判断码是这个,不是密码。稍等

解决方案 »

  1.   

    好复杂,看的我都晕了
    我不是科班出身,所以最弱的就是算法、数学方法等基础了  :(
      

  2.   

    其实很简单,告诉你过程:
    先取得他的验证码是什么东西:
    submitentry()中的这个循环:
    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
    }
    这里显然是在比较是密码匹配,那么改一下
    for (i=(1&2);i<lim;i++){
    t3+=pass[phase1+Math.round(Math.sin(Math.PI/2)-1)].charAt(i)
    }
    然后alert(t3)就可以得到他的验证码是dvvgdvv。
    然后来取他的输入密码。
    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)
    }
    呵呵~,反着来,知道temp2=d,然后alert(numletter.charAt(temp2))得到temp2的数字值。
    然后temp2^parseInt(pass[phase1-1+(1|3)].substring(0,2))得到temp的值,再alert(numletter.charAt(temp))得到密码的第一位。好了,其他的照做。很快搞定:)