728x90
Bandit Level 0 → Level 1
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. Whenever you find a password for a level, use SSH (on port 2220) to log into that level and continue the game.
음...
레벨0에서 했던 것과 같이 hostname과 port를 설정하고 id와 pw로 bandit0을 입력한다.
문제를 해결하기 위해 힌트에 나와있는 명령어 사용법을 찾아봤다.
ls: 현재 위치의 파일목록 조회
cd: 디렉터리 이동
cat: 파일의 내용을 화면에 출력하거나 파일을 생성
file: 파일의 종류, 속성 값을 확인
du: 디렉터리나 사용자별 디스크 사용량 확인(디렉터리 별로 사용량 확인가능)
find: 파일 및 디렉토리 검색
ls를 입력했더니 readme가 나옴
readme의 내용을 확인하기 위해 cat readme를 입력했더니 다음과 같이 나왔다
새로 켜서 id에는 bandit1 pw에는 boJ9jbbUNNfktd78OOpsqOltutMc3MY1를 입력했더니 성공했다
복붙이 안돼서 일일이 쳤는데 이렇게 하는게 맞나
728x90
'보안공부 > OverTheWire' 카테고리의 다른 글
Bandit Level 4 → Level 5 (0) | 2020.04.30 |
---|---|
Bandit Level 3 → Level 4 (0) | 2020.04.30 |
Bandit Level 2 → Level 3 (0) | 2020.04.30 |
Bandit Level 1 → Level 2 (0) | 2020.04.30 |
Over The Wire 워게임 시작 (0) | 2020.04.29 |