-
[Linux 공부] Bandit wargames 4~5 단계 file 읽을 수 있는 파일 찾기Development/Linux 2025. 5. 18. 21:36728x90반응형
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 the only human-readable file in the inhere directory. Tip: if your terminal is messed up, try the “r
overthewire.org
4 ~ 5단계 문제는 사람이 읽을 수 있는 파일은 찾는 간단한 문제입니다.
1. SSH 접속
4 ~ 5단계 비밀번호는 2WmrDFRmJIq3IPxneAaMGhap0pFhF3NJ 입니다.
ssh bandit4@bandit.labs.overthewire.org -p 22202. 읽을 수 있는 파일 찾기
cd inhere ls -al 결과 total 48 drwxr-xr-x 2 root root 4096 Apr 10 14:23 . drwxr-xr-x 3 root root 4096 Apr 10 14:23 .. -rw-r----- 1 bandit5 bandit4 33 Apr 10 14:23 -file00 -rw-r----- 1 bandit5 bandit4 33 Apr 10 14:23 -file01 -rw-r----- 1 bandit5 bandit4 33 Apr 10 14:23 -file02 -rw-r----- 1 bandit5 bandit4 33 Apr 10 14:23 -file03 -rw-r----- 1 bandit5 bandit4 33 Apr 10 14:23 -file04 -rw-r----- 1 bandit5 bandit4 33 Apr 10 14:23 -file05 -rw-r----- 1 bandit5 bandit4 33 Apr 10 14:23 -file06 -rw-r----- 1 bandit5 bandit4 33 Apr 10 14:23 -file07 -rw-r----- 1 bandit5 bandit4 33 Apr 10 14:23 -file08 -rw-r----- 1 bandit5 bandit4 33 Apr 10 14:23 -file09 file ./-file00 결과 ./-file00: PGP Secret Sub-key - file ./-file01 결과 ./-file01: data ... file ./-file07 결과 ./-file07: ASCII text cat ./-file07 결과 4oQYVPkxZOOEOO5pTW81FB8j8lxXGUQw728x90반응형'Development > Linux' 카테고리의 다른 글
[Linux 공부] Bandit wargames 6~7 단계 find 원하는 파일 찾기 (0) 2025.05.18 [Linux 공부] Bandit wargames 5~6 단계 find 원하는 파일 찾기 (0) 2025.05.18 [Linux 공부] Bandit wargames 3~4 단계 ls 숨겨진 파일 (0) 2025.05.18 [Linux 공부] Bandit wargames 2~3 단계 cat 공백 문자 (0) 2025.05.18 [Linux 공부] Bandit wargames 1~2 단계 cat 경로 지정 (0) 2025.05.18