Bandit Level 5 → Level 6

장일영·2024년 5월 10일

Bandit

목록 보기
6/33

Level

Goal

The password for the next level is stored in a file somewhere under the inhere directory and has all of the following properties:

human-readable
1033 bytes in size
not executable

다음 레벨의 패스워드는 inhere 디렉토리의 어딘가에 저장되어 있고 다음 속성을 가진다.

읽기 가능
크기: 1033 bytes
실행 불가

Commands you may need to solve this level

ls , cd , cat , file , du , find

Exploit

inhere 디렉토리 내에는 maybehere*을 만족하는 디렉토리가 20개 있다. 각 디렉토리 안에는 크기도 종류도 다른 여러 개의 파일이 존재한다. 따라서 find 커맨드를 이용해 문제에서 명시한 조건을 모두 만족하는 파일을 찾아야 한다.

find . -size 1033c

0개의 댓글