扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
<HTML>
<!-- #BeginTemplate "/Templates/Js.dwt" -->
<HEAD>
<!-- #BeginEditable "doctitle" -->
<TITLE>密码登录生成器</TITLE>
<!-- #EndEditable -->
<META http-equiv=Content-Type content="text/HTML; charset=gb2312">
<LINK
href=../../"/*.ico" rel="shortcut icon">
<STYLE type=text/CSS>BODY {
MARGIN: 25px 25px 25px
}
#all TD {
FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋体", "宋体"
}
INPUT {
FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋体", "宋体"
}
SELECT {
FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋体", "宋体"
}
P {
FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋体", "宋体"
}
TEXTAREA {
FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋体", "宋体"
}
#all A:active {
COLOR: #7d070c
}
#all A:visited {
COLOR: #7d070c
}
#all A:hover {
COLOR: #336699
}
#all A:link {
COLOR: #7d070c
}
</STYLE>
<SCRIPT language=JavaScript>
<!--
function MM_goToURL() { //v3.0
var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
function JM_cc(ob){
var obj=MM_findObj(ob); if (obj) {
obj.select();js=obj.createTextRange();js.execCommand("Copy");}
}
function MM_findObj(n, d) { //v4.0
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && document.getElementById) x=document.getElementById(n); return x;
}
//-->
</SCRIPT>
<META content="MSHTML 5.50.4134.600" name=GENERATOR>
</HEAD>
<BODY id=all text=#000000 bgColor=#336699>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TR bgColor=#ffffff>
<TD><IMG src=../../"/images/*.gif" width=11 height="14"></TD>
<TD width="100%"></TD>
<TD><IMG src=../../"/images/*.gif"
width=11 height="14"></TD>
</TR>
</TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TR bgColor=#ffffff>
<TD><IMG src=../../"/images/*.gif" width=11 height="1"></TD>
<TD width="100%">
<table width="100%" border="0" cellpadding="8">
<tr>
<td align="center">
<script language="JavaScript">
document.write("<font color=#7d070c style=\"font-size: 14px\">"+document.title+"</font>");
</script>
</td>
</tr>
<tr>
<td bgcolor="#f7f7f7"><!-- #BeginEditable "example" -->1.在下面的输入框内输入你的密码(这就是你要求浏览者要输入密码后才能访问的密码)密码的长度必须是少于十位,只允许字母与数目字.<small><font
face="Verdana">
<script>
var lengthe=''
var length2=''
var numletter="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
var key=0
var temp,temp2,t3=''
var userinput
function generate(input){
temp=numletter.indexOf(input)
var temp2=temp^key
temp2=numletter.substring(temp2,temp2+1)
return (temp2)
}
function generateit(inputs){
lengthe=''
length2=''
key=0
temp=temp2=t3=''
userinput=inputs
key=Math.round(Math.random()*63)
if (key<11)
key=key+11+Math.round(Math.random()*40)
length2=inputs.length
for (i=0;i<length2;i++)
t3+=generate(userinput.charAt(i))
lengthe=t3.length
}
</script>
<script language="JavaScript">
function JM_setPageName(){
var ob=MM_findObj('password2');obt=MM_findObj('pagename'); if (ob&&obt&&ob.value.length>0){
obt.innerText=ob.value
}
}
</script>
</font></small>
<form method="POST" name="password1">
<p>
<input type="text" name="password2" size="20" onBlur=JM_setPageName()>
</p>
</form>
<p>2.请把输入正确密码后进入的页面的文件名改为<font color="#990000">[<span id=pagename>密码</span>.HTML]</font><font face="Verdana">
<script>
function proceed(){
if (document.password1.password2.value.length<10&&document.password1.password2.value.length>0){
generateit(document.password1.password2.value)
jp();
JM_cc('S1');
}
else
alert("密码不能长度不符合或者为空!")
}
</script>
</font></p>
<form method="POST">
<p>
<input type="button"
value="生成我的密码页面保护程序" onClick="proceed()" name="B1">
</p>
</form>
<form name=g method=post>
<p>
<textarea name=S1 rows=15 cols=55>//你可以设置后缀为其它文件格式,默认为.HTML
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))
for (i=(1&2);i<lim;i++){
if (t3.charAt(i)!=pass[phase1+Math.round(Math.sin(Math.PI/2)-1)].
</HTML>
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。