zoukankan      html  css  js  c++  java
  • hacktest记录

           Hacking is a complex webmaster security game. This webmaster hacker test has 20 complete levels. This will test your javascript coding skills, php scripting, graphic ability, html knowledge, and thinking logically like a hacker. This is a game and no system or laws are violated by playing. We hope you have a lot of fun with this test and tell your friends. Finishing will not be easy and if you do get stuck you can purchase the solution. Consider this game a puzzle maze for geeks.

    我用的是chrome浏览器。

    第一关:

    http://www.hack-test.com/

    查看源代码

     1 var a="null";
     2 function check()
     3 {
     4     if (document.a.c.value == a)
     5     {
     6         document.location.href="/"+document.a.c.value+".htm";
     7     }
     8     else
     9     {
    10         alert ("Try again");
    11     }
    12 }

    密码就是null了。

    第二关:

    http://www.hack-test.com/null.htm

    同样,查看源代码:

    1 var pass, i;
    2 pass=prompt("Please enter password!","");
    3 if (pass=="l3l") 
    4 {
    5     window.location.href="./"+pass+".htm";
    6     i=4;
    7 }

    密码:l3l

    第三关:

    http://www.hack-test.com/l3l.htm

     1 </script>
     2 </head><body onload=javascript:pass(); alink="#000000">
     3 <script language="JavaScript" type="text/javascript">
     4 function pass()
     5 {
     6     var pw, Eingabe;
     7     pw=window.document.alinkColor;
     8     Eingabe=prompt ("Please enter password");
     9     if (Eingabe==pw)
    10     {
    11         window.location.href=String.fromCharCode(97,98,114,97,101)+".htm";
    12     }
    13     else
    14     {
    15         alert("Try again");
    16     }
    17 }
    18 </SCRIPT>

    密码:#000000

    第四关:

    http://www.hack-test.com/abrae.htm

    貌似没有第四关,直接进入的,也就是说,这关是忽悠人的。

    第五关:

    http://www.hack-test.com/sdrawkcab.htm

    这个速度要快点,不然会跳转到第四关去

     1 </script>
     2 </head><body>
     3 <script language="JavaScript" type="text/javascript">
     4 var pass, i;
     5 pass=prompt("Password: ","");
     6 if (pass=="SAvE-as hELpS a lOt") 
     7 {
     8     window.location.href="save_as.htm";
     9     i=4;
    10 }
    11 else {alert("Try again");
    12 window.location.href="abrae.htm";}
    13 // -->
    14 </script>

    密码:SAvE-as hELpS a lOt

    只要不跳回去,就OK了。

    第六关:

    http://www.hack-test.com/save_as.htm

    <SCRIPT SRC="psswd.js" LANGUAGE="JavaScript" type="text/javascript">

    进入psswd.js

    <!--
    var pass;
    pass=prompt("Password:","");
    if (pass=="streetzkornerz") 
    {
        window.location="included.htm";
    }
    else 
    alert("Try again...");
    //-->

    真是深藏不露啊。

    密码:streetzkornerz

    第七关:

    http://www.hack-test.com/included.htm

    这次是既有用户名又有口令

    </script>
    </head><body bg="images/included.gif">
    <table border="0" cellspacing="1" width="100%">
        <tr>
            <td width="320"><img border="0" src="images/logo.jpg" alt="php programming logo"></td>
            <td valign="top">
    <div class="header">Hacker Coding in Progress</div>
    <div>
    <script type="text/javascript">

    找得我淡疼。

    在images/included.gif里面

    输入网址:http://www.hack-test.com/images/included.gif

    最下面,字很小个。

    username:phat

    password:jerkybar3

    进入第八关:

    http://www.hack-test.com/pwd2.php

    提示:
    Authentication Failed. Try again.

    身份验证失败。再试一次。

    坑爹的要用PHP提交,坑跌的我没学过PHP。

    桑心中!!!!!!!!!!!!!!!!!!!!

  • 相关阅读:
    实验8 SQLite数据库操作
    实验7 BindService模拟通信
    实验6 在应用程序中播放音频和视频
    实验6 在应用程序中播放音频和视频
    实验5 数独游戏界面设计
    实验4 颜色、字符串资源的使用
    实验五存储管理实验
    实验四:主存空间的分配和回收
    实验三 进程调度模拟程序
    实验8 SQLite数据库操作
  • 原文地址:https://www.cnblogs.com/tk091/p/2703593.html
Copyright © 2011-2022 走看看