문제
The password for the next level is stored in the file data.txt, which contains base64 encoded data
## 문제 요구사항
base64로 인코딩된 데이터가 포함된 data.txt 파일
## 내가 사용한 명령어
ssh bandit10@bandit.labs.overthewire.org -p 2220
base64 -d data.txt
## 왜 이 명령어를 골랐는가
base64 인코딩(64개의 문자를 사용해 바이너리 데이터를 텍스트로 바꾸는 방법)
base64 -d 디코딩
바이너리(0, 1) 데이터를 텍스트로 변경
| base64 | 64개 | 가장 공간 효율 좋음 (33% 증가), 가장 널리 사용됨(이메일, MIME, API, JWT 등) |
| base32 | 32개 | 대문자/숫자만 → 안전한 문자만 사용, 문자 제한이 있는 환경(옛 시스템, 대문자만 가능 환경)에서 유리 |
| base16 | 16개 | 매우 직관적(HEX), 길이는 2배, 주로 xxd, hexdump, SHA-1 해시 등에서 사용 |

'Security > OverTheWire' 카테고리의 다른 글
| Bandit Level 12 → Level 13 (압축 관련) (0) | 2025.12.01 |
|---|---|
| Bandit Level 11 → Level 12 (tr) (0) | 2025.12.01 |
| Bandit Level 9 → Level 10 (strings) (0) | 2025.12.01 |
| Bandit Level 8 → Level 9 (uniq) (0) | 2025.12.01 |
| Bandit Level 7 → Level 8 (grep) (0) | 2025.12.01 |