Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <!-- This stuff in the header has nothing to do with the level -->
- <link rel="stylesheet" type="text/css" href="http://natas.labs.overthewire.org/css/level.css">
- <link rel="stylesheet" href="http://natas.labs.overthewire.org/css/jquery-ui.css" />
- <link rel="stylesheet" href="http://natas.labs.overthewire.org/css/wechall.css" />
- <script src="http://natas.labs.overthewire.org/js/jquery-1.9.1.js"></script>
- <script src="http://natas.labs.overthewire.org/js/jquery-ui.js"></script>
- <script src=http://natas.labs.overthewire.org/js/wechall-data.js></script><script src="http://natas.labs.overthewire.org/js/wechall.js"></script>
- <script>var wechallinfo = { "level": "natas21", "pass": "<censored>" };</script></head>
- <body>
- <h1>natas21</h1>
- <div id="content">
- <p>
- <b>Note: this website is colocated with <a href="http://natas21-experimenter.natas.labs.overthewire.org">http://natas21-experimenter.natas.labs.overthewire.org</a></b>
- </p>
- <?
- function print_credentials() { /* {{{ */
- if($_SESSION and array_key_exists("admin", $_SESSION) and $_SESSION["admin"] == 1) {
- print "You are an admin. The credentials for the next level are:<br>";
- print "<pre>Username: natas22\n";
- print "Password: <censored></pre>";
- } else {
- print "You are logged in as a regular user. Login as an admin to retrieve credentials for natas22.";
- }
- }
- /* }}} */
- session_start();
- print_credentials();
- ?>
- <div id="viewsource"><a href="index-source.html">View sourcecode</a></div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement