-
[Linux 공부] Bandit wargames 1~2 단계 cat 경로 지정Linux 2025. 5. 18. 21:14728x90반응형
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
1 ~ 2단계 문제는 명시적으로 파일을 지정할 수 있는지 물어보는 간단한 문제입니다.
1. SSH 접속
1 ~ 2단계 비밀번호는 ZjLjTmM6FvvyRnrb2rfNWOZOTa6ip5If 입니다.
ssh bandit1@bandit.labs.overthewire.org -p 2220
2. 파일 읽기
ls로 현재 디렉토리에 있는 파일을 확인 후 cat 명령어 명시적으로 경로를 지정하여 파일을 읽습니다.
ls 결과 - cat ./- 결과 263JGJPfgU6LtdEvgfWU1XP5yac29mFx
728x90반응형'Linux' 카테고리의 다른 글
[Linux 공부] Bandit wargames 3~4 단계 ls 숨겨진 파일 (0) 2025.05.18 [Linux 공부] Bandit wargames 2~3 단계 cat 공백 문자 (0) 2025.05.18 [Linux 공부] Bandit wargames 0~1 단계 cat (0) 2025.05.18 [Linux 공부] Bandit wargames 0 단계 SSH (0) 2025.05.17 [홈 서버 만들기] 1. Ubuntu Wi-Fi 연결하기 (0) 2025.02.16