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
Commands you may need to solve this level
- ls
- find
- cat
Solution
inhere 디렉터리 내부에 총 20개의 디렉터리가 있다. 이 안에 또 다른 파일들이 있고 이걸 다 열어서 보기에는 힘드니까 find 명령어로 파일을 찾아야 한다. find . -size 1033c 로 입력하면 되는데 여기서 c는 사이즈 중 바이트 단위를 나타낸다.
▶HWasnPhtq9AVKe0dmk45nxy20cvUa6EG
'워게임 > bandit' 카테고리의 다른 글
[bandit] -> level 5 file 명령어 (0) | 2024.11.14 |
---|---|
[bandit] -> level 4 숨겨진 디렉터리 (1) | 2024.11.13 |
[bandit] -> level 3 파일명에 공백이 포함되어 있을 경우 (0) | 2024.11.13 |
[bandit] -> level 2 cat dashed file (1) | 2024.11.13 |
[bandit] -> level 1 ls 파일 목록, cat 파일 출력 (1) | 2024.11.13 |