Bandit Level 4 → Level 5
Level Goal
The password for the next level is stored in the only human-readable file in the inhere directory. Tip: if your terminal is messed up, try the “reset” command.
Commands you may need to solve this level
ls , cd , cat , file , du , find
비밀번호는 inhere 디렉토리의 사람이 읽을 수 있는 파일에 있다.
화면이 지저분하다면 reset 명령어를 사용해라. (clear 도 가)
drwxr-xr-x 2 root root 4096 Oct 5 06:19 ./
drwxr-xr-x 3 root root 4096 Oct 5 06:19 ../
-rw-r----- 1 bandit5 bandit4 33 Oct 5 06:19 -file00
-rw-r----- 1 bandit5 bandit4 33 Oct 5 06:19 -file01
-rw-r----- 1 bandit5 bandit4 33 Oct 5 06:19 -file02
-rw-r----- 1 bandit5 bandit4 33 Oct 5 06:19 -file03
-rw-r----- 1 bandit5 bandit4 33 Oct 5 06:19 -file04
-rw-r----- 1 bandit5 bandit4 33 Oct 5 06:19 -file05
-rw-r----- 1 bandit5 bandit4 33 Oct 5 06:19 -file06
-rw-r----- 1 bandit5 bandit4 33 Oct 5 06:19 -file07
-rw-r----- 1 bandit5 bandit4 33 Oct 5 06:19 -file08
-rw-r----- 1 bandit5 bandit4 33 Oct 5 06:19 -file09
bandit4@bandit:~/inhere$ cat -file00
cat: invalid option -- 'f'
Try 'cat --help' for more information.
bandit4@bandit:~/inhere$ cat ./-file00
QRrtZ�i�╚ �H
|��ȧ����^��bandit4@bandit:~/inhere$ cat ./-file01
7L3��Y�ͯ Ŵ����E�Y�ܚ �V&��h�F�bandit4@bandit:~/inhere$ cat ./-file02
��y���O̫��`�\�-⃐�Hx��2��Kbandit4@bandit:~/inhere$ cat ./-file03
��╔i�x�#e�>�VO��p{� �║��MUb4�bandit4@bandit:~/inhere$ cat ./-file04
��gQ��eE}:�g���j8�╚�╝���<.�ebandit4@bandit:~/inhere$ cat ./-file05
��S��e 0�����]7�������b�<�~bandit4@bandit:~/inhere$ cat ./-file06
G=1�������B׃�"
���W��9ؽ5bandit4@bandit:~/inhere$ cat ./-file07
lrIWWI6bB37kxfiCQZqUdOIYfr6eEeqR
bandit4@bandit:~/inhere$
파일이 많다면 아래와 같은 방법으로 찾아도 될 듯 하다.
bandit4@bandit:~/inhere$ file ./*
./-file00: data
./-file01: data
./-file02: data
./-file03: data
./-file04: data
./-file05: data
./-file06: data
./-file07: ASCII text
./-file08: data
./-file09: data
다음 레벨로 GO
'WarGame > Bandit WarGame' 카테고리의 다른 글
Bandit WarGame Level 6 -> Level 7(find -user -group) (0) | 2023.11.10 |
---|---|
Bandit WarGame 5 -> 6 (find -size -exec sh -c "file {}" \;) (0) | 2023.11.10 |
Bandit WarGame 3 -> 4 (0) | 2023.11.10 |
Bandit WarGame 2->3 (0) | 2023.11.10 |
Bandit WarGame 1->2 (0) | 2023.11.10 |