Before I had kids, I did a lot of wargames. More recently, while I was working at TRD, I played Bandit with my coworker. This was around July of2021. It was so much fun to have someone to play the game with, and talk about it! We solved each level separately, but then talked about our solutions after the fact.
I would really like to have that experience again.
Anyway, without further adieu, I present to you…..
Level 0!!!!
This should be pretty straight forward. If applicable, I will past instructions and terminal output so it’s easy to follow along w/the challenge.
From [https://overthewire.org/wargames/bandit/bandit0.html]
The goal of this level is for you to log into the game using SSH. The host to which you need to connect is bandit.labs.overthewire.org, on port 2220. The username is bandit0 and the password is bandit0. Once logged in, go to the Level 1 page to find out how to beat Level 1.
OK, let’s connect via ssh
|
|
Based on the instructions, it appears we want to look in /etc/bandit_pass/*, however, it’s always smart to look around before we do anything…
|
|
Well then… what do we have here? A readme?
Our first flag
When we talk about CTF (capture the flag), we are talking about finding a piece of text that acts as the signifier that you have passed a level, wargame, challenge, etc. In this particular challenge, the flag was in readme
!
|
|