| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | |||||
| 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| 10 | 11 | 12 | 13 | 14 | 15 | 16 |
| 17 | 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 | 30 |
| 31 |
- write-up
- Cross-Site Scripting
- OverTheWire
- web hacking
- 리눅스 기초
- 모의해킹
- 사이버 보안
- 워게임
- Bandit
- 해커
- 보안 스터디
- 해킹 스터디
- XSS
- Blue Team
- IR
- linux
- http
- 보안 관제
- 해킹
- 리눅스
- 정보보안
- cert
- SoC
- THM
- 정보보호
- 블루팀
- TryHackMe
- Cyber Security
- Web
- CTF
- Today
- Total
AnbyMata의 해킹 노트
[Bandit] Level 0 → Level 1 본문
OverTheWire - Bandit : Level 0 → Level 1. Write-up!
출처: https://overthewire.org/wargames/bandit/bandit1.html
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 readme located in the home directory. Use this password to log into bandit1 using SSH. W
overthewire.org
Bandit을 시작하기 전에 Bandit 사용법을 먼저 알아두면 좋습니다!
https://anbymata.tistory.com/20
[Bandit] Level 0 - Bandit 로그인 및 플레이하는 방법
출처: https://overthewire.org/wargames/bandit/bandit0.html Level Goal The goal of this level is for you to log into the game using SSH. The host to which you need to connect is bandit.labs.overthewire.org, on port 222" data-og-host="overthewire.org" data
anbymata.tistory.com
시작을 위해 "ssh -p 2220 bandit0@bandit.labs.overthewire.org"로 ssh 로그인합니다!
( 비밀번호: bandit0 )
[1] 문제 요약
Home 디렉토리의 readme 파일에 비밀번호가 저장되어 있습니다.
여기서 얻은 비밀번호로 bandit1 계정에 ssh 로그인을 할 수 있습니다.
[2] 사용되는 명령어들
- ls : 현재 디렉토리 또는 지정한 경로의 파일과 폴더 목록 출력
- cd : 현재 작업 중인 디렉토리를 변경 (= 현재 위치에서 다른 디렉토리로 이동)
- cat : 파일의 내용을 화면에 출력
- file : 파일의 종류 및 타입 확인
- du : 디렉토리나 파일의 디스크 사용량 표시
- find : 지정한 경로에서 조건에 맞는 파일이나 디렉토리 검색
[3] 문제 접근 과정
파일 내용을 출력하는 명령어는?
[4] 문제 풀이 및 분석
1) ls 명령어로 홈 디렉토리에 있는 파일 목록 확인

= 홈 디렉토리에 readme 파일이 있습니다.
2) cat 명령어로 readme 파일 내용 확인

= readme 파일의 내용이 출력되면서 안에 들어있던 비밀번호를 알아낼 수 있습니다.
= 이 비밀번호는 다음 레벨에 로그인할 때, 사용되는 비밀번호입니다.
bandit 비밀번호는 반드시 따로 복사해서 저장해두기! (메모장 등으로)
[Bandit] Level 0 → Level 1. Clear.
[Bandit] Level 1 → Level 2. Continue...
https://anbymata.tistory.com/36
[Bandit] Level 1 → Level 2
OverTheWire - Bandit : Level 1 → Level 2. Write-up!출처: https://overthewire.org/wargames/bandit/bandit2.html 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 leve
anbymata.tistory.com
'OverTheWire > Bandit' 카테고리의 다른 글
| [Bandit] Level 4 → Level 5 (0) | 2026.01.15 |
|---|---|
| [Bandit] Level 3 → Level 4 (0) | 2026.01.12 |
| [Bandit] Level 2 → Level 3 (0) | 2026.01.10 |
| [Bandit] Level 1 → Level 2 (0) | 2026.01.09 |
| [Bandit] Level 0 - Bandit 로그인 및 플레이하는 방법 (0) | 2025.10.28 |