OverTheWire Bandit Level 11 Walkthrough
Today we're doing a walkthrough of level 11 of the Bandit CTF wargame, hosted at OverTheWire.org. First, let's take a look at the level's objectives:
https://overthewire.org/wargames/bandit/bandit12.html
The Flag is located in the data.txt file where all the lowercase and uppercase letters have been rotated 13 positions.
Next, let's login to the game server using SSH. Remember to use the Flag from the previous level as the SSH password.
ssh bandit11@bandit.labs.overthewire.org -p 2220
Now let's locate the data.txt file.
pwd
ls -a
Now to properly access the Flag string we will cat out the data.txt file and pipe out the output to the tr command, which translates character output. In this case, we're dealing with ROT13 cipher, which means we will have to use the following string to translate the characters from A-Z and a-z to N-Z, wrapping around to A-M, and n-z, wrapping around to a-m.
cat data.txt | tr '[A-Za-z]' '[N-ZA-Mn-za-m]'
Summary
Bandit11 requires us to translate the characters in a file that have been encrypted in ROT13 cipher to access the Flag string.
Finish
Comments
Post a Comment