Security/CTF
Bandit Level 2 → Level 3 [2/34]
LimSeongHyeon
2025. 5. 27. 23:11
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 - located in the home directory Commands you may need to solve this level ls , cd , cat
overthewire.org
접속방법은 쭉 동일할 예정이니 생략하자!
The password for the next level is stored in a file called - located in the home directory
먼저 디렉터리에 뭐가있나 확인해보니 띄어쓰기인지 여러개의 파일인지 구분이 안된다.
bandit2@bandit:~$ ls
spaces in this filename
-l 옵션으로 확인해보니 한개의 파일 이름을 저렇게 작성해놨다.
bandit2@bandit:~$ ls -l
total 4
-rw-r----- 1 bandit3 bandit2 33 Apr 10 14:23 spaces in this filename
느낌에 띄어쓰기 하면 file 지정에서 넘어가 적용이 안될테니까 ""로 감싸주면 될 듯 하다.
bandit2@bandit:~$ cat "spaces in this filename"
[PASSWORD]
정답~