0x2510 writings thoughts ships

OverTheWire Bandit LVL0-LVL5 Writeup

Apr 27, 2025

·

2 min read

tl;dr: Yo! This is my short writeup about OverTheWire Bandit LVL0 to LVL5.

About Writeup

This is my writeup of OverTheWire Bandit LVL0–LVL5.

Walkthrough

LVL0 -> LVL1

The goal of this level is to log into the game using SSH.

  • Host: bandit.labs.overthewire.org
  • Port: 2220
  • Username: bandit0
  • Password: bandit0

Commands you may need: ssh bandit0@bandit.labs.overthewire.org -p 2220

Once inside:

  • ls ➔ Found a file called readme
  • cat readme ➔ Got the password for Level 1.

Password for Bandit1: ZjLjTmM6FvvyRnrb2rfNWOZOTa6ip5If


LVL1 -> LVL2

Logged in using the credentials from above.

  • ls ➔ Found a file named -
  • cat ./- ➔ Retrieved the password for Level 2.

Password for Bandit2: 263JGJPfgU6LtdEvgfWU1XP5yac29mFx


LVL2 -> LVL3

After login:

  • ls ➔ Found a file named spaces in this filename
  • cat spaces\ in\ this\ filename ➔ Got the password.

Password for Bandit3: MNk8KNH3Usiio41PRUEoDFPqfxLPlSmx


LVL3 -> LVL4

Post-login:

  • ls ➔ Found a hidden file in a weird directory.
  • Navigated and used nano to open it.
  • File: inhere/.hidden
  • Retrieved the password.

Password for Bandit4: 2WmrDFRmJIq3IPxneAaMGhap0pFhF3NJ


LVL4 -> LVL5

Inside Bandit4:

  • ls ➔ Found several files starting with -file
  • Ran file ./-file07 ➔ Found it’s a ASCII text file.
  • cat ./-file07 ➔ Pulled out the password.

Password for Bandit5: 4oQYVPkxZOOEOO5pTW81FB8j8lxXGUQw


Contributing

Got ideas or fixes? Open an issue or sling a pull request my way. I’m down to collab with fellow tech heads.

Contact

I’m always up for a challenge—hit me up if you’ve got a gig or just wanna geek out over ParrotOS.

System broken? I’ve secured and built MVPs for folks just like you!

P.S. Catch me on Twitter where I rant about code, keyboards, and Verstappen’s latest win!

License

This project’s open source under the Apache License 2.0. Feel free to swipe the code for your own stuff—a shoutout’s cool but not mandatory.