-
[OverTheWire][Bandit] Bandit Level 2 → Level 3Computing/OverTheWire : Bandit 2022. 1. 17. 14:22

문제 링크 : https://overthewire.org/wargames/bandit/bandit3.html [Level 2 → Level 3 문제 풀이]

지난 단계에서 구한 Bandit2의 password를 이용해 로그인 한다.
이번 문제에서는 spaces in this filename 이라는 이름의 파일에서 다음 단계로 가는 password를 찾을 수 있다.
파일명에 띄어쓰기가 있는 경우,
cat spaces in this filename
위와 같이 명령어를 입력할 경우 spaces, in, this, filename 과 같이 각 네개의 파일로 인식해 원하는 답을 찾을 수 없다.
따라서 나는 파일 이름을 따옴표로 감싸주었다.
(다음 사진 정답 포함)
cat 'spaces in this filename' (큰 따옴표, 작은 따옴표 상관 X)

비교적 쉽게 password를 구할 수 있었다.
'Computing > OverTheWire : Bandit' 카테고리의 다른 글
[OverTheWire][Bandit] Bandit Level 4 → Level 5 (0) 2022.01.17 [OverTheWire][Bandit] Bandit Level 3 → Level 4 (0) 2022.01.17 [OverTheWire][Bandit] Bandit Level 1 → Level 2 (0) 2022.01.17 [OverTheWire][Bandit] Bandit Level 0 → Level 1 (0) 2022.01.17 [OverTheWire][Bandit][PuTTy] 리눅스 워게임 OverTheWire : Bandit 초기 설정 PuTTy Bandit0 (0) 2022.01.17