Level Goal
The password for the next level is stored in the file data.txt next to the word millionth
비밀번호는 data.txt 파일의 millionth 단어 옆에 저장되어 있다
Code
bandit7@bandit:~$ cat data.txt
#데이터
bandit7@bandit:~$ grep millionth data.txt
#비밀번호
처음에는 data.txt 파일을 출력했는데 결과가 너무 많았다. 파일 속에서 단어가 포함된 줄을 출력하기로 하고 grep 명령어를 이용하여 출력하였다
'wargame > bandit' 카테고리의 다른 글
Level 9 → Level 10 (0) | 2019.02.14 |
---|---|
Level 8 → Level 9 (0) | 2019.02.14 |
Level 6 → Level 7 (0) | 2019.02.14 |
Level 5 → Level 6 (0) | 2019.02.14 |
Level 4 → Level 5 (0) | 2019.02.14 |