[OverTheWire System - Bandit] Level 3 >> Level 4

Level Goal

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

 

다음 단계의 암호는 이 디렉토리의 숨겨진 파일에 저장됩니다.

 

Hint

1. ls 명령어

2. cat 명령어

3. 리눅스 숨겨진 파일

Write Up

더보기

ls 명령어로 홈 디렉토리를 확인해보니, inhere 디렉토리가 있었다.
그래서 안에 뭐가 있는지 궁금하여 inhere 디렉토리도 확인하였다. 확인 한 결과 .hidden 파일이 있다는 것을 알 수 있었다.

 

file 이름 앞에 .이 있다는 것은 숨긴 파일이라는 뜻이다.

 

cat 명령어를 사용하여 .hidden 파일을 확인해봤다.

 

bandit4 :: pIwrPrtPN36QITSp3EQaw936yaFoFgAB