OverTheWire Bandit Level 11->12

br4ind3ad
1 min readAug 4, 2021

Given:
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 to solve this level
grep, sort, uniq, strings, base64, tr, tar, gzip, bzip2, xxd

It is given that the letters in the text has been rotated by 13 positions that means it is easily be decoded via ROT 13

for Rot13 decode, use command — tr ‘A-Za-z’ ‘N-ZA-Mn-za-m’

It's hard to remember the whole command every time therefore make an alias using alias rot13="tr 'A-Za-z' 'N-ZA-Mn-za-m'"

bandit11@bandit:~$ cat data.txt | tr ‘A-Za-z’ ‘N-ZA-Mn-za-m’
The password is 5Te8Y4drgCRfCx8ugdwuE*****6k2EUu

Also, the “tr command in UNIX is a command-line utility for translating or deleting characters. It supports a range of transformations including uppercase to lowercase, squeezing repeating characters, deleting specific characters, and basic find and replace. It can be used with UNIX pipes to support more complex translation.”

:)

--

--