我不熟这个语言,- <script type="text/javascript">
- function Login(){
- var done=0;
- var a1="%69";
- var a=document.all.a.value;
- a=a.toLowerCase();
- var b=document.all.b.value;
- b=b.toLowerCase();
- var b1= b.substr(2,3) b.substr(0,1) b.substr(1,2);
- var c1="%61";
- var c=document.all.c.value;
- c=c.toLowerCase();
- var d1= new Array("q", "t", "1", "@", "r", *****"d", "67", ".", "k", "#",**** "u", "l", "12", "k", "o", *****"t",
- "?", "5", "&", "?",****** "f", "z", "c", "d", "6",**** "k") ;
- var d=document.all.d.value;
- d=d.toLowerCase();
- var e=document.all.e.value;
- e=e.toLowerCase();
- var f = e.substring(1,2) e.substring (4,5) e.substring (6,7) e.substring (0,1)
- e.substring(5,6) e.substring(2,3) e.substring(3,4);
- if (a== unescape(a1) && b1=="ntwan" && c== unescape(c1) && d== d1[22] d1[14] d1[11] d1[5] &&
- f=="eber" )
- {
- var g= b.substr(2,3) d.substr(0,1) e.substr(1,2);
- alert("The password is " g);
- }
- else
- {
- alert("Wrong");
- }
- }
-
- </script>
- <div style="text-align:center; margin:auto;">
- <table width=255 border=1 cellpadding=1 style="margin:auto;">
- <tr>
- <td>Field 1:</td>
- <td>
- <input type=text name=a>
- </td>
- </tr>
- <tr>
- <td>Field 2:</td>
- <td>
- <input type=text name=b>
- </td>
- </tr>
- <tr>
- <td>Field 3:</td>
- <td>
- <input type=text name=c>
- </td>
- </tr>
- <tr>
- <td>Field 4:</td>
- <td>
- <input type=text name=d>
- </td>
- </tr>
- <tr>
- <td>Field 5:</td>
- <td>
- <input type=text name=e>
- </td>
- </tr>
- </table>
-
- <input type=button value="Validate the passwords" onClick="Login()" name="button">
- </div>
复制代码 刚刚把一段加密过的翻译过来是这个样子,谁帮忙解读一下? |