티스토리 뷰

Wargame/Bandit

Bandit Level 10 → Level 11

장일영 2024. 5. 16. 12:13

 

Goal

The password for the next level is stored in the file data.txt, which contains base64 encoded data
다음 레벨의 패스워드는 `data.txt` 파일에 있으며, 해당 파일은 base64로 인코딩 된 데이터를 포함한다.

 

Commands you may need to solve this level

`grep`, `sort`, `uniq`, `strings`, `base64`, `tr`, `tar`, `gzip`, `bzip2`, `xxd`

 

Write Up

bandit10@bandit:~$ ls -al
total 24
drwxr-xr-x  2 root     root     4096 Oct  5  2023 .
drwxr-xr-x 70 root     root     4096 Oct  5  2023 ..
-rw-r--r--  1 root     root      220 Jan  6  2022 .bash_logout
-rw-r--r--  1 root     root     3771 Jan  6  2022 .bashrc
-rw-r-----  1 bandit11 bandit10   69 Oct  5  2023 data.txt
-rw-r--r--  1 root     root      807 Jan  6  2022 .profile

bandit10@bandit:~$ file data.txt
data.txt: ASCII text

 

리눅스 기본 프로그램인 base64를 이용해서 해당 텍스트를 디코딩 한다.

bandit10@bandit:~$ cat data.txt | base64 --decode
bandit10@bandit:~$ base64 -d ./data.txt

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

Bandit Level 12 → Level 13  (0) 2024.05.16
Bandit Level 11 → Level 12  (0) 2024.05.16
Bandit Level 9 → Level 10  (0) 2024.05.16
Bandit Level 8 → Level 9  (0) 2024.05.16
Bandit Level 7 → Level 8  (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
글 보관함