티스토리 뷰

Wargame/Bandit

Bandit Level 5 → Level 6

장일영 2024. 5. 16. 11:55

 

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

 

Commands you may need to solve this level

`ls` , `cd` , `cat` , `file` , `du` , `find`

 

Write Up

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

find . -size 1033c

'Wargame > Bandit' 카테고리의 다른 글

Bandit Level 7 → Level 8  (0) 2024.05.16
Bandit Level 6 → Level 7  (0) 2024.05.16
Bandit Level 4 → Level 5  (0) 2024.05.16
Bandit Level 3 → Level 4  (0) 2024.05.16
Bandit Level 2 → Level 3  (0) 2024.05.16
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2026/06   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
글 보관함