본문 바로가기
Security/OverTheWire

Bandit Level 11 → Level 12 (tr)

by curious week 2025. 12. 1.

문제

The password for the next level is stored in the file data.txt, where all lowercase (a-z) and uppercase (A-Z) letters have been rotated by 13 positions

## 문제 요구사항
소문자(a-z)와 대문자(A-Z)가 모두 13자리씩 회전된 data.txt 파일에 저장

## 내가 사용한 명령어
ssh bandit11@bandit.labs.overthewire.org -p 2220
tr a-z n-za-m < data.txt

## 왜 이 명령어를 골랐는가
tr A-Z a-z      # 대문자 → 소문자 변환
tr abc xyz      # a→x, b→y, c→z 치환
tr -d '0-9'     # 숫자 삭제

## 어떤 시행착오를 겪었는가
tr a-z n-za-m < data.txt는 소문자만 변경됨.