Exploring OverTheWire: Level 11 to Level 12 - Bandit Challenge

📆 · ⏳ 2 min read · · 👀

Introduction

As we progress further in the Bandit Challenge, Level 12 ↗️ presents us with a new twist. Our objective is to find a password hidden within the “data.txt” file, where all the letters have been rotated by 13 positions.

Challenge Overview

💡

Level 12 challenges us to search for a password within the “data.txt” file, where all the letters have been rotated by 13 positions. Our task is to decipher the rotated letters and extract the password hidden within them.

By using commands like “grep,” “tr,” and “xxd,” we’ll manipulate the data, rotate the letters back to their original positions, and successfully obtain the password.

Approach and Strategy

Follow these steps to successfully solve Level 12:

Terminal window
ssh [email protected] -p 2220

Enter the password you obtained from the previous level.

To decipher the rotated letters in the “data.txt” file and extract the password, use the following command:

Terminal window
cat data.txt | tr 'A-Za-z' 'N-ZA-Mn-za-m'

The tr command performs character translation and rotates the letters by 13 positions, applying the ROT13 cipher.

The output of the command will display the deciphered data. Examine the output to locate the password.

The password for Level 12 will be displayed in the output. Take note of it for the next level.

Notes

  • The ROT13 ↗️ cipher rotates each letter by 13 positions, making it easy to decipher. Side note, this is the same as seen in the Mr. Robot series ↗️ 👀
  • Use the tr ↗️ command to perform character translation and rotate the letters back to their original positions.
  • Observe the deciphered data and locate the password within it.

Conclusion

Congratulations on successfully completing Level 12 of the Bandit Challenge! By deciphering the rotated letters within the “data.txt” file, we have obtained the necessary password to progress further.

Stay tuned for the next blog post, where we’ll tackle Level 13 and face new challenges in our quest to become proficient cybersecurity practitioners.

You may also like

  • # overthewire

    Exploring OverTheWire: Level 15 to Level 16 - Bandit Challenge

    Welcome back to our captivating journey through the Bandit Challenge! In this blog post, we're poised to conquer Level 16, where the path to victory lies in submitting the current level's password to a specific port on localhost using SSL encryption. Join me as we navigate through secure socket layers, SSL encryption, and gain access to the coveted password. Let's dive in!

  • # overthewire

    Exploring OverTheWire: Level 14 to Level 15 - Bandit Challenge

    Welcome back to our enthralling voyage through the Bandit Challenge! In this blog post, we're set to conquer Level 15, where the key to success lies in submitting the current level's password to a specific port on localhost. Join me as we delve into port communication, networking concepts, and gain access to the coveted password. Let's dive in!

  • # overthewire

    Exploring OverTheWire: Level 13 to Level 14 - Bandit Challenge

    Welcome back to our adventurous journey through the Bandit Challenge! In this blog post, we'll conquer Level 14, where we'll obtain a private SSH key that grants us access to the next level. Join me as we navigate through secure connections, employ cryptographic tools, and use the obtained key to log into the next level. Let's dive in!