Wargame: Bandit
Level: 11
Category: Linux Fundamentals
Description
data.txt contains text where every letter has been rotated by 13 positions (ROT13). Decoding it gives the password.
Overview
- ROT13 is a Caesar cipher with shift 13; it is its own inverse.
tr 'A-Za-z' 'N-ZA-Mn-za-m'applies the rotation using thetr(translate) command.
Solution
cat data.txt | tr 'A-Za-z' 'N-ZA-Mn-za-m'
Password
JVNBBFSmZwKKOP0XbFXOoW8chDz5yVRv