Natas Level 4 → Level 5
Wargame/Natas2022. 4. 12. 02:53Natas Level 4 → Level 5

Username: natas5 URL: http://natas5.natas.labs.overthewire.org [ Question ] Access disallowed. You are visiting from "" while authorized users should come only from "http://natas5.natas.labs.overthewire.org/" [ Answer ] 문제에서 refresh page 버튼을 누르게 되면 현재 natas4페이지에서 방문했기에 접근이 불가능하고 natas5로 와야 접근이 가능하다고 한다. 이 페이지에서 f12나 cmd+option+i 를 눌러 Console로 들어가 document.referrer을 입력해주면 리퍼러가 natas4인 것을 알 수 있다. ..

Natas Level 3 → Level 4
Wargame/Natas2022. 4. 12. 00:23Natas Level 3 → Level 4

Username: natas4 URL: http://natas4.natas.labs.overthewire.org [ Question ] There is nothing on this page [ Answer ] 페이지 소스코드를 보면 15번째 줄에 정보도 없고 심지어 구글도 찾을 수 없다고 한다. 그래서 구글링을 해보았다. 구글 검색 차단을 검색하다가 연관 검색어로 구글 이미지 검색 안되게라고 떠서 검색해 보았더니 서버의 루트에 이미지를 차단하는 robots.txt를 추가하라고 하여 uri에 추가해보았다. 그 전에 robots.txt에 대해 살펴보면 다음과 같다. robots.txt란? 서버 관리자가 웹페이지 HTML 작성 시 맨 위에 검색 로봇을 배제한다는 의미의 'File:robots.txt', 'Us..

image