Bandit Level 11 → Level 12

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 to solve this level

grep, sort, uniq, strings, base64, tr, tar, gzip, bzip2, xxd

From the commands list, tr is use to translate or delete characters. Usage tr [OPTION] … SET1 [SET2]. Furthermore, SETs can be represented as CHAR1-CHAR2 where all characters from CHAR1 to CHAR2 in ascending order. ROT13 is to rotate a to n, b to o, c to p … z to m and similarly for capitalize characters. we could write out the whole list or write out the simplify version (both shown below). But first, we need to pipe the output of data.txt into tr.

cat data.txt | tr abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ nopqrstuvwxyzabcdefghijklmNOPQRSTUVWXYZABCDEFGHIJKLM
cat data.txt | tr a-zA-Z n-za-mN-ZA-M
The password is 5Te8Y4drgCRfCx8ugdwuEX8KFC6k2EUu