怎么到处要破这个密码
密码是see1see
是什么地方的密码
前两天不是才发过吗??
密码是see1see
是什么地方的密码
前两天不是才发过吗??
解决方案 »
- (JS替换)正则表达式中可否带变量?
- ext js表单提交的问题
- 一条js语句怎样表达window.opener.document.dll.变量.innerHTML="adfadfa"
- JavaScript这个问题该怎么写?难呀...
- 初学js,看到一个js的伪分页功能,想弄下来,但是又不会,有没有大神帮助下
- 为什么我获取到的radiobutton的值是undefined?
- 系统崩溃!收藏夹没备份!求学习网站链接!
- 这样能不能实现,在超链接上单击鼠标左键即出现文件下载的提示?
- 接我上一贴.孟老师!onestab(┼─)!麻烦二位百忙之中再给我讲一下呀
- 在线等大侠。。文本框即时触发事件。。
- 自定义了一个css(cursor:wait),如何在页面载入的时候或没有加哉完的时候显示自定义的css?
- 如何在窗口onload的时候改变窗口的设置?在线等
你是如何把这个密码算出来的.我加分.
http://expert.csdn.net/Expert/topic/1437/1437611.xml?temp=.7368585
<script>
var pass=new Array()
var t3=""
var lim=7
pass[0]="W5AH5Glv6VgTUi6"
pass[1]="f9XR73wcl2ldHMe"
pass[2]="9PbpmVeAFo2gCU"
pass[3]="dvvgdvvkhaiuLEj"
pass[4]="7IGuaDUvtPrB7IMu"
pass[5]="17IGuaDUvtPrB7IM"
var extension=".html"
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))
var t4 = "";
var s5 = "dvvgdvv"
for (i=(1&2);i<window.max(Math.LOG10E);i++)
t4+=testit(s5.charAt(i))
alert(t4);
for (i=(1&2);i<lim;i++){
alert(t3.charAt(i) + "=" + pass[phase1+Math.round(Math.sin(Math.PI/2)-1)].charAt(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("密码错误,请再输入!")
}
</script>
<strong>对不起,密码错误...</strong>
<p align="left" style="margin-top: -2">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"><form name="password1"><div align="center"><center><p><strong>请输入密码: </strong><input
type="text" name="password2" size="8"><br/><input type="button" value="进入会员区" onClick="submitentry()"></p>
</center></div>
</form>
</td>
</tr>
</table> 其中alert(t3.charAt(i) + "=" + pass[phase1+Math.round(Math.sin(Math.PI/2)-1)].charAt(i))是得到真正的密码为dvvgdvv,然后在var s5 = "dvvgdvv"中定义密码,通过它的testit函数来进行^运算找到每个字母对应的数字,for (i=(1&2);i<window.max(Math.LOG10E);i++)
t4+=testit(s5.charAt(i))
alert(t4);
其中t4就是应该输入的密码,这个加密的过程很无聊,很容易就被破掉。