
The password for the next level is stored in the file data.txt, which contains base64 encoded data
다음 레벨의 패스워드는 data.txt 파일에 있으며, 해당 파일은 base64로 인코딩 된 데이터를 포함한다.
grep, sort, uniq, strings, base64, tr, tar, gzip, bzip2, xxd
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