Bandit11 - bandit12

From JaxHax
Jump to navigation Jump to search

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


Solution

This challenge uses something called ROT-13. it basically rotates the characters. I googled rot-13 in bash and found this can be done with the "tr" command like so.

bandit11@melinda:~$ ls
data.txt

bandit11@melinda:~$ cat data.txt 
Gur cnffjbeq vf 5Gr8L4qetPEsPk8htqjhRK8XSP6x2RHh

bandit11@melinda:~$ cat data.txt | tr a-zA-Z n-za-mN-ZA-M
The password is 5Te8Y4drgCRfCx8ugdwuEX8KFC6k2EUu

bandit11@melinda:~$