Akash Trehan
Write-ups

OverTheWire Bandit Level 11 → 12 Walkthrough

Decoding a ROT13 cipher using the tr command

By Akash Trehan · · 1 min read · Wargame
OverTheWire Bandit Level 11 wargame title banner
OverTheWire Bandit Level 11 → 12 Walkthrough

Level goal: 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

Commands you may need: grep, sort, uniq, strings, base64, tr, tar, gzip, bzip2, xxd

Helpful reading:

Write-up

cat data.txt to get the Rot13-encrypted text. A simple way would be to decrypt using one of the various online tools available.

Another method is using the tr command for rotation by 13, to get the password.

1
bandit11@melinda:~$ cat data.txt | tr 'n-za-mN-ZA-M' 'a-zA-Z'

Level 12 password: 5Te8Y4drgCRfCx8ugdwuEX8KFC6k2EUu