Bandit Level 11
data.txtcontains the password encoded with ROT13- each letter is shifted 13 places in the alphabet.
-
Since the alphabet has 26 letters, applying ROT13 twice gets you back to the original, which means encoding and decoding are the same operation.
cat data.txt | tr 'A-Za-z' 'N-ZA-Mn-za-m'decodes it.tris a character translation tool- it swaps characters from the first set to the matching position in the second set.
- The pattern maps
A-MtoN-ZandN-ZtoA-M(same for lowercase), which is exactly ROT13.
Password
IFukwKGsFW8MOq3IRFqrxE1hxTNEbUPR