Level 3 → Level 4

옥영진·2020년 5월 15일
0

Bandit - OverTheWire

목록 보기
4/33

Level 3 → Level 4

목표

Level Goal
The password for the next level is stored in a hidden file in the inhere directory.

Commands you may need to solve this level
ls, cd, cat, file, du, find

다음 레벨로 가는 패스워드는 "inhere" 디렉토리 안에 숨겨진 파일에 있다고 한다.

해결

cd ~/inhere
ls -al
cat ./.hidden

inhere 디렉토리로 이동하여 ls -al 명령어를 통해 숨겨진 파일까지 전부 출력한다. inhere 디렉토리 내에 .hidden 이라는 파일명을 가진 파일이 존재함을 확인할 수 있고, cat 명령어를 통해 .hidden 파일 내용을 출력하여 다음 레벨로 가는 패스워드를 획득할 수 있다.

profile
안녕하세요 함께 공부합시다

0개의 댓글