The password for the next level is stored in the file data.txt next to the word millionth
다음 레벨의 비밀번호는 data.txt파일 안 millionth단어 옆에 있다.
ls를 사용하여 data.txt파일이 있는지 확인한다
평소처럼 파일안의 내용을 보기위해 cat data.txt를 했다면 무수히 많은 텍스트를 만나게 되고 비밀번호를 찾기 상당히
까다로워진다.
비밀번호는 data.txt파일 안 millionth단어 옆에 있다고 나와있으니 파일 안 특정 문자를 찾을 수 있는 명령어인 grep을 사용하여(grep [옵션] [패턴(문자열)] [파일명]) 비밀번호를 찾을 수 있다. cvX2JJa4CFALtqS87jk27qwqGhBM9plV
'리눅스 > 리눅스 페도라 Bandit - OverTheWire' 카테고리의 다른 글
Bandit Level 11 → Level 12 (0) | 2022.04.17 |
---|---|
Bandit Level 10 → Level 11 (0) | 2022.04.14 |
Bandit Level 9 → Level 10 (0) | 2022.04.14 |
Bandit Level 8 → Level 9 (2) | 2022.04.14 |
OverTheWire Bandit Level 0~6 (0) | 2022.04.13 |