Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- Montgomery Reduction
- return address overflow
- 드림핵
- rao
- RSA
- picoCTF
- Franklin-Reiter Related Message Attack
- CSRF
- spoofing
- 암호학
- 웹해킹
- dns
- Crypto
- Hastad
- 시스템해킹
- bandit
- weak key
- AES
- redirect
- cryptography
- OverTheWire Bandit Level 1 → Level 2
- pycrpytodome
- shellcode
- XSS
- Cube Root Attack
- arp
- dreamhack
- Bandit Level 1 → Level 2
- RSA Common Modulas Attack
- overthewire
Archives
- Today
- Total
암호(수학) 등.. 공부한 거 잊을거 같아서 만든 블로그
OverTheWire Bandit Level 10 → Level 11 풀이 본문
문제
다음 단계의 암호는 base64 인코딩된 데이터를 포함하는 data.txt 파일에 저장됩니다.
풀이
data.txt파일의 내용을 보니 VGhlIHBhc3N3b3JkIGlzIElGdWt3S0dzRlc4TU9xM0lSRnFyeEUxaHhUTkViVVBSCg==
문자열이 있음을 알 수 있다.
문제에서 암호는 base64 인코딩된 데이터로 data.txt에 저장되어 있다고 했으므로 base64 명령어를 이용해 VGhlIHBhc3N3b3JkIGlzIElGdWt3S0dzRlc4TU9xM0lSRnFyeEUxaHhUTkViVVBSCg== 문자열을 base64 디코딩을 해보면 암호가 IFukwKGsFW8MOq3IRFqrxE1hxTNEbUPR 임을 알 수 있다.
base64 명령어는 base64 인코딩, 디코딩을 해주는데 사용되는 명령어로 -d 옵션은 base64 디코딩을 할 때 쓰인다.
base64 [OPTION] [FILE]
'OverTheWire: Bandit' 카테고리의 다른 글
OverTheWire Bandit Level 11 → Level 12 풀이 (1) | 2022.04.13 |
---|---|
OverTheWire Bandit Level 9 → Level 10 풀이 (0) | 2022.04.13 |
OverTheWire Bandit Level 8 → Level 9 풀이 (0) | 2022.04.13 |
OverTheWire Bandit Level 7 → Level 8 풀이 (0) | 2022.04.13 |
OverTheWire Bandit Level 6 → Level 7 풀이 (0) | 2022.04.07 |