OverTheWire: Level Goal
We're hackers, and we are good-looking. We are the 1%. <!-- Please read and accept the Rules! --> Level Goal The password for the next level is stored in a file called spaces in this filename located in the home directory Commands you may need to solve thi
overthewire.org
The password for the next level is stored in a hidden file in the inhere directory.
확인할 때, 단순히 ls로 확인하는 것 보다 ls -l이 더 직관적이여서 이제 ls -l로 확인하려고 한다.
bandit3@bandit:~$ ls -l
total 4
drwxr-xr-x 2 root root 4096 Apr 10 14:23 inhere
앞에 d가 달려있는 것을 보아하니 디렉터리인가보다. 들어가서 확인해보자.
bandit3@bandit:~$ cd inhere/
bandit3@bandit:~/inhere$ ls -l
total 0
들어가서 확인해보니 아무런 파일이 없다고 나온다. 숨김 파일중에 존재하는지 한번 확인해보자.
bandit3@bandit:~/inhere$ ls -la
total 12
drwxr-xr-x 2 root root 4096 Apr 10 14:23 .
drwxr-xr-x 3 root root 4096 Apr 10 14:23 ..
-rw-r----- 1 bandit4 bandit3 33 Apr 10 14:23 ...Hiding-From-You
이제 ls -l도 아닌 ls -la를 하는 습관을 들여야겠다.
bandit3@bandit:~/inhere$ cat ...Hiding-From-You
[PASSWORD]
'Security > CTF' 카테고리의 다른 글
Bandit Level 5 → Level 6 [5/34] (0) | 2025.05.28 |
---|---|
Bandit Level 4 → Level 5 [4/34] (0) | 2025.05.27 |
Bandit Level 2 → Level 3 [2/34] (0) | 2025.05.27 |
Bandit Level 1 → Level 2 [1/34] (0) | 2025.05.27 |
Bandit Level 0 → Level 1 [0/34] (0) | 2025.05.27 |