Let’s dive into the craziness of bandit challenges (Level 0–10)
Level 0:
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.
Singin using:
ssh bandit0@bandit.labs.overthewire.org -p 2220
Level 1:
Singin using ssh bandit0@bandit.labs.overthewire.org -p 2220 and the password in the readme file
To read the — file:
ls -la
cat ./-
Level 2:
cat spaces\ in\ this\ filename
Level 3:
cd inhere/
cat ...Hiding-From-You
Level 4:
Level 5:
Use this command to find the file
find . -type f -size 1033c ! -executable -exec file {} + | grep 'text'
Level 6:
cd /
find . -type f -user bandit7 -group bandit6 -size 33c -print
Level 7:
cat data.txt | grep 'millionth'
Level 8:
sort data.txt | uniq -u
Level 9:
strings data.txt
Level 10:
cat data.txt | grep '='
echo 'base64 encoded data' | base64 -d
Stay tuned for more!!!
Happy Hacking!