문제
The password for the next level is stored in a file called readme located in the home directory. Use this password to log into bandit1 using SSH. Whenever you find a password for a level, use SSH (on port 2220) to log into that level and continue the game.
## 문제 요구사항
bandit0으로 SSH 접속
cat readme
파일에 있는 문자열 = bandit1 비밀번호
그걸로 bandit1 로그인
다음 레벨로 이동
## 내가 사용한 명령어
find readme
ls
cat readme
ssh bandit1@bandit.labs.overthewire.org -p 2220
## 왜 이 명령어를 골랐는가
find readme : readme 찾기
ls : 현재 디렉토리 파일보기
cat readme : readme 읽기
ssh bandit1@bandit.labs.overthewire.org -p 2220 : 포트번호 2220 bandit1 사용자로 ssh 접속
ls 현재 디렉토리 안의 파일/폴더 목록을 보여준다.
cd 디렉토리(폴더)를 이동한다.
cat 파일 내용을 화면에 출력한다.
file 해당 파일이 어떤 종류(텍스트/바이너리/압축 등)인지 알려준다.
du 디렉토리/파일의 크기를 보여준다. (disk usage)
find 이름, 크기, 권한 등을 기준으로 파일을 검색한다.


'Security > OverTheWire' 카테고리의 다른 글
| Bandit Level 3 → Level 4 (숨김 파일) (0) | 2025.12.01 |
|---|---|
| Bandit Level 2 → Level 3 (공백 처리) (0) | 2025.12.01 |
| Bandit Level 1 → Level 2 (0) | 2025.11.30 |
| Bandit Level 0 (0) | 2025.11.29 |
| Over the Wire - Wargames (0) | 2025.09.18 |