본문 바로가기

전체 글

Bandit: Level 12 PS C:\Users\USER> ssh bandit12@bandit.labs.overthewire.org -p2220 _ _ _ _ | |__ __ _ _ __ __| (_) |_ | '_ \ / _` | '_ \ / _` | | __| | |_) | (_| | | | | (_| | | |_ |_.__/ \__,_|_| |_|\__,_|_|\__| This is an OverTheWire game server. .. 더보기
Bandit: Level 11 PS C:\Users\USER> ssh bandit11@bandit.labs.overthewire.org -p2220 _ _ _ _ | |__ __ _ _ __ __| (_) |_ | '_ \ / _` | '_ \ / _` | | __| | |_) | (_| | | | | (_| | | |_ |_.__/ \__,_|_| |_|\__,_|_|\__| This is an OverTheWire game server. .. 더보기
Bandit: Level 10 PS C:\Users\USER> ssh bandit10@bandit.labs.overthewire.org -p2220 _ _ _ _ | |__ __ _ _ __ __| (_) |_ | '_ \ / _` | '_ \ / _` | | __| | |_) | (_| | | | | (_| | | |_ |_.__/ \__,_|_| |_|\__,_|_|\__| This is an OverTheWire game server. .. 더보기
Bandit: Level 9 PS C:\Users\USER> ssh bandit9@bandit.labs.overthewire.org -p2220...bandit9@bandit.labs.overthewire.org's password:...bandit9@bandit:~$ The password for the next level is stored in the file data.txt in one of the few human-readable strings, preceded by several ‘=’ characters. bandit9@bandit:~$ ls -altotal 40drwxr-xr-x 2 root root 4096 Aug 15 13:15 .drwxr-xr-x 150 root root 4096 .. 더보기
Bandit: Level 8 PS C:\Users\USER> ssh bandit8@bandit.labs.overthewire.org -p2220...bandit8@bandit.labs.overthewire.org's password:...bandit8@bandit:~$ The password for the next level is stored in the file data.txt and is the only line of text that occurs only once bandit8@bandit:~$ ls -altotal 56drwxr-xr-x 2 root root 4096 Jul 28 19:04 .drwxr-xr-x 150 root root 4096 Jul 28 19:06 ..-rw-r--r-- 1.. 더보기
Bandit: Level 7 PS C:\Users\USER> ssh bandit7@bandit.labs.overthewire.org -p2220...bandit7@bandit.labs.overthewire.org's password:...bandit7@bandit:~$ The password for the next level is stored in the file data.txt next to the word millionth 먼저, data.txt 파일을 찾아 보자.bandit7@bandit:~$ ls -altotal 4108drwxr-xr-x 2 root root 4096 Jul 28 19:04 .drwxr-xr-x 150 root root 4096 Jul 28 19:06 ..-rw-r--r.. 더보기
Bandit: Level 6 PS C:\Users\USER> ssh bandit6@bandit.labs.overthewire.org -p2220...bandit6@bandit.labs.overthewire.org's password:...bandit6@bandit:~$ The password for the next level is stored somewhere on the server and has all of the following properties:owned by user bandit7owned by group bandit633 bytes in size직전에 풀었던 Level 5랑 같은 방식으로 풀이를 하면 될 것 같다. pw의 위치를 찾아야 한다는 근본적인 과제는 동일하므로 또다시 find 명령어를 사용하기로 하자.다만, .. 더보기
Bandit: Level 5 PS C:\Users\USER> ssh bandit5@bandit.labs.overthewire.org -p2220...bandit5@bandit.labs.overthewire.org's password:...bandit5@bandit:~$ The password for the next level is stored in a file somewhere under the inhere directory and has all of the following properties:human-readable1033 bytes in sizenot executable문제의 조건은 위와 같다. ls에 -R 옵션을 쓰게 되면, 현재 디렉토리와 모든 하위 디렉토리의 파일을 보여준다. bandit5@bandit:~/inhere.. 더보기