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
더보기
![](https://blog.kakaocdn.net/dn/b8h2Ul/btriPlz6X0R/hEBDDHBk5kIIx2jKBFdDg0/img.png)
![](https://blog.kakaocdn.net/dn/L3V6B/btriUES1iDb/fUmhIQ5oRhGwhiGHL6Iju0/img.png)
![](https://blog.kakaocdn.net/dn/b8h2Ul/btriPlz6X0R/hEBDDHBk5kIIx2jKBFdDg0/img.png)
ls 명령어로 홈 디렉토리를 확인해보니, inhere 디렉토리가 있었다.
그래서 안에 뭐가 있는지 궁금하여 inhere 디렉토리도 확인하였다. 확인 한 결과 .hidden 파일이 있다는 것을 알 수 있었다.
file 이름 앞에 .이 있다는 것은 숨긴 파일이라는 뜻이다.
![](https://blog.kakaocdn.net/dn/L3V6B/btriUES1iDb/fUmhIQ5oRhGwhiGHL6Iju0/img.png)
cat 명령어를 사용하여 .hidden 파일을 확인해봤다.
bandit4 :: pIwrPrtPN36QITSp3EQaw936yaFoFgAB
'Wargame > Dreamhack' 카테고리의 다른 글
[Dreamhack Web - Lv 1] command-injection-1 (0) | 2021.10.27 |
---|---|
[Dreamhack Web - Lv 1] image-storage (0) | 2021.10.27 |
[OverTheWire System - Bandit] Level 2 >> Level 3 (0) | 2021.10.26 |
[Dreamhack Web - Lv 1] csrf-1 (0) | 2021.10.25 |
[Dreamhack Web - Lv 1] proxy-1 (0) | 2021.10.25 |
Comment