Over The Wire - Bandit 2 -> 3

Task Read the content of the file called “spaces in this filename”. Login SSH: bandit2@bandit.labs.overthewire.org -p 2220 Password: 263JGJPfgU6LtdEvgfWU1XP5yac29mFx Theory We can’t read a file that has a space in its filename normally. To read it we can simply put the name of the file between quotes "filname" and then we can read it. Solution Log in to the remote host with the credentials from the last level. ~$: ssh bandit2@bandit....

August 6, 2024 · 1 min · Kaliban

Over The Wire - Bandit 1 -> 2

Task Read the content of the file called “-” Login SSH: bandit1@bandit.labs.overthewire.org -p 2220 Password: ZjLjTmM6FvvyRnrb2rfNWOZOTa6ip5If Theory To read a file with an “unconventional name” such as - we need to use the path of the file ./. Solution We log in to the remote host with the right credentials ~$: ssh bandit1@bandit.labs.overthewire.org -p 2220 Search for the file and read it. bandit1@bandit~$: ls - bandit1@bandit~$: cat ./- 263JGJPfgU6LtdEvgfWU1XP5yac29mFx We can now proceed to the next challenge....

August 4, 2024 · 1 min · Kaliban

Over The Wire - Bandit 0 -> 1

Task Find the file readme stored in the filesystem. Login SSH: bandit0@bandit.labs.overthewire.org -p 2220 Password: bandit0 Theory After loggin in the remote host you can use a set of commands to understand where are you and what files are in your directory: pwd this command show the name of the working directory, the directory you’re in right now. ls list the files in the current folder, you can add the attribute -a to show hidden files, using -l instead will show additional information on the files....

August 4, 2024 · 1 min · Kaliban

Over The Wire - Bandit 0

Introduction OverTheWire is a free online platform “to learn and practice security concepts in the form of fun-filled games”. It has different, so-called “Wargames”, that deal each deal with an area of security. The first game that is recommended is called Bandit. It is recommended first because it teaches “the basics needed to be able to play other wargames”. This includes mainly basic Linux and Git commands. I worked through the levels and decided to write a walkthrough for my blog....

August 4, 2024 · 3 min · Kaliban