CTF/Bandit

Bandit Level 10 → Level 11 [10/34]

LimSeongHyeon 2025. 7. 12. 14:17

 

OverTheWire: Level Goal

We're hackers, and we are good-looking. We are the 1%. <!-- Please read and accept the Rules! --> Level Goal The password for the next level is stored in the file data.txt in one of the few human-readable strings, preceded by several ‘=’ characters. Co

overthewire.org

The password for the next level is stored in the file data.txt, which contains base64 encoded data

 

 

data.txt에 password가 존재하는데 base64로 인코딩 되어있는 것 같다.

우선 데이터를 읽어보자.

 

 

OverTheWire에 Base64가 해당 레벨의 Command 중 하나이니 man page를 확인해보자.

 

 

man page 내용은 아래와 같다.

 

base64로 인코딩된 데이터라고 했으니 디코딩 시키면 패스워드가 나올거 같다.

디코딩 옵션인 -d / --decode를 사용해보자

 

 

HIT!