高手进来,能看出这段用JS写的判断密码的值是多少? 等等,有问题,他的判断码是这个,不是密码。稍等 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 好复杂,看的我都晕了我不是科班出身,所以最弱的就是算法、数学方法等基础了 :( 其实很简单,告诉你过程:先取得他的验证码是什么东西: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))得到密码的第一位。好了,其他的照做。很快搞定:) 安装V8引擎的问题,求大侠解救 JQuery右键菜单的问题???高手帮忙 这个是什么意思 用javascript如何动态切换两个button的背景颜色? 事件执行的问题 很简单的XML节点赋值问题 新手提问,JAVASCRIPT如何拒绝FORM提交? 如何把cookie的值保存在文件里面 知道一个大表格的名子,表格里面有另一个表格也知道名子,如何知道这个表格在大表格的第几行,第几列 也不知道能不能行 JavaScript 开发人员! 请大家帮忙写段JavaScript代码好么?谢谢,:)
我不是科班出身,所以最弱的就是算法、数学方法等基础了 :(
先取得他的验证码是什么东西:
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))得到密码的第一位。好了,其他的照做。很快搞定:)