Natas- level 6 Writeup

In this level we are given a input box. Since this gives no proper enlightment on what to do we will check the source code for clarification

<!-- This stuff in the header has nothing to do with the level -->
		<link rel="stylesheet" type="text/css" href="">
		<link rel="stylesheet" href="" />
		<link rel="stylesheet" href="" />
<script src=""></script>
<script src=""></script>
<script src=></script><script src=""></script>
<script>var wechallinfo = { "level": "natas6", "pass": "<censored>" };</script></head>
<div id="content">


include "includes/";

if(array_key_exists("submit", $_POST)) {
if($secret == $_POST['secret']) {
print "Access granted. The password for natas7 is <censored>";
} else {
print "Wrong secret";

<form method=post>
Input secret: <input name=secret>

<input type=submit name=submit>
<div id="viewsource"><a href="index-source.html">View sourcecode</a></div>

as suggested by the source code a file “includes/” is validated against $secret to check the value of this variable $secret access

<? $secret = "FOEIUWGHFEEUHOFUOIU"; ?>

and give this secret to the input box and press enter and accio password for level 7


access Level 7 with the following credentials

Username: natas7
Password: 7z3hEENjQtflzgnT29q7wAvMNfZdh0i9

Follow the next post for NATAS 7 Write Up



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Powered by

Up ↑

%d bloggers like this: