Bandit Level 6 → Level 7
문제 https://overthewire.org/wargames/bandit/bandit7.html 목표 다음 조건을 따르는 서버 어딘가에 저장되어 있는 패스워드를 찾는다. bandit7 유저가 소유한다. bandit6 그룹이 소유한다. 크기가 33 바이트다. 풀이 조건에 해당하는 유저와 그룹이 소유하는 파일을 찾으려면 find 명령...
문제 https://overthewire.org/wargames/bandit/bandit7.html 목표 다음 조건을 따르는 서버 어딘가에 저장되어 있는 패스워드를 찾는다. bandit7 유저가 소유한다. bandit6 그룹이 소유한다. 크기가 33 바이트다. 풀이 조건에 해당하는 유저와 그룹이 소유하는 파일을 찾으려면 find 명령...
문제 https://overthewire.org/wargames/bandit/bandit6.html 목표 다음 조건을 따르는 inhere 디렉토리 안 어딘가에 저장되어 있는 패스워드를 찾는다. 사람이 읽을 수 있다. 크기가 1033 바이트다. 실행할 수 없다. 풀이 inhere 디렉토리로 이동한다. bandit5@bandit:~$ c...
문제 https://overthewire.org/wargames/bandit/bandit5.html 목표 inhere 디렉토리에 위치한 사람만 읽을 수 있는 파일에 저장되어 있는 패스워드를 찾는다. 풀이 inhere 디렉토리로 이동한다. bandit4@bandit:~$ cd inhere inhere 디렉토리 내 파일 목록을 확인해보니 10개...
문제 https://overthewire.org/wargames/bandit/bandit4.html 목표 inhere 디렉토리에 위치한 숨겨진 파일에 저장되어 있는 패스워드를 찾는다. 풀이 inhere 디렉토리로 이동한다. bandit3@bandit:~$ cd inhere inhere 디렉토리 내 파일 목록을 확인해보니 아무 파일도 확인되지...
문제 https://overthewire.org/wargames/bandit/bandit3.html 목표 홈 디렉토리에 위치한 spaces in this filename 파일에 저장되어 있는 패스워드를 찾는다. 풀이 cat space in this filename 명령을 시도해보니 띄어쓰기 때문에 명령이 4개로 각각 나뉘어 실행된다. bandit...
문제 https://overthewire.org/wargames/bandit/bandit2.html 목표 홈 디렉토리에 위치한 - 파일에 저장되어 있는 패스워드를 찾는다. 풀이 cat - 명령을 시도해보니 파일의 내용은 보이지 않고 입력을 받아 다시 출력한다. bandit1@bandit:~$ cat - a a asdf asdf cat 명령어는...
문제 https://overthewire.org/wargames/bandit/bandit1.html 목표 홈 디렉토리에 위치한 readme 파일에 저장되어 있는 패스워드를 찾는다. 풀이 cat 명령어를 사용해 readme 파일의 내용을 출력한다. bandit0@bandit:~$ cat readme NH2SXQwcBdpmTEzi3bvBHMM9H66v...
ls : List Segments의 약자, 디렉토리와 파일 리스트 출력 -a : 숨겨진 파일까지 출력 -l : 세부 정보 출력 pwd : Print Working Directory의 약자, 현재 경로 출력 cd : Change Directory의 약자, 해당 경로로 이동 cd .. : 상위 경로로 이동 mkdir : ...