Over the Wire/natas

[Natas] OverTheWire : Natas level 1 → 2

ruming 2021. 3. 28. 15:54

Username : natas2

Password : ZluruAthQk7Q2MqmDeTiUij2ZvWy2mBi

URL : http://natas2.natas.labs.overthewire.org

 

 

일단 페이지 소스코드를 보자.

<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": "natas2", "pass": "ZluruAthQk7Q2MqmDeTiUij2ZvWy2mBi" };</script></head>
<body>
<h1>natas2</h1>
<div id="content">
There is nothing on this page
<img src="files/pixel.png">
</div>
</body></html>

img src 부분을 보면 files/pixel.png로 들어가는 게 보인다. files를 입력해보자.

다음과 같이 입력해보았다.

natas2.natas.labs.overthewire.org/files/

위와 같은 페이지가 나왔다. 여기서 수상해 보이는 users.txt에 들어가보면 다음과 같은 내용이 나온다.

# username:password

alice:BYNdCesZqW

bob:jw2ueICLvT

charlie:G5vCxkVV3m

natas3:sJIJNW6ucpu6HPZ1ZAchaDtwd7oGrD14 eve:zo4mJWyNj2

mallory:9urtcpzBmH

 

natas3의 비밀번호를 찾았다!

 

'Over the Wire > natas' 카테고리의 다른 글

[natas] level 4 → 5  (0) 2021.04.04
[natas] level 3 → 4  (0) 2021.04.02
[natas] OverTheWire : level 2 → 3  (0) 2021.04.02
[Natas] OverTheWire : Natas level 0 → 1  (0) 2021.03.28
[Natas] OverTheWire : Natas level 0  (0) 2021.03.28