728x90
Bandit Level 4 → Level 5
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 “reset” command.
노래를 들으며 하고 있는데 에이프릴 신곡 너무 좋다. 라라리라라~
bandit4로 로그인을 한다.
inhere 폴더로 들어가니 파일 10개가 보인다.
파일 내용을 확인하려 cat 명령어를 하나씩 사용해본다. 앞에서 배웠듯이 -는 <-로 입력해야 한다.
알 수 없는 내용들로 인해 화면이 지저분해지는데, reset을 입력하면 그동안의 기록이 모두 사라지고 화면이 깨끗해진다.
reset으로 한 번 정리하고 계속해서 찾다보니 file07에서 읽을 수 있는 pw가 나온다.
728x90
'보안공부 > OverTheWire' 카테고리의 다른 글
Bandit 6 ~ 8 (0) | 2020.05.07 |
---|---|
Bandit Level 5 → Level 6 (2) | 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 |