Bandit Easy - Level1supporttechnician/Overthewire GitHub Wiki
Welcome to the Overthewire wiki!
Bandit0
Ssh into Bandit0 Host is bandit.labs.overthewire.org
ssh [email protected] -p 22
boJ9jbbUNNfktd78OOpsqOltutMc3MY1
Bandit1
read dash file
cat ./-
CV1DtqXWVFXTvM2F0k09SHz0YwRINYA9
Bandit2
spaces in file name
cat ./spaces\ in \this \filename
UmHadQclWmgdLOKQ3YNgjWxGoRMb5luK
Bandit3 hidden file in folder
cat .hidden
pIwrPrtPN36QITSp3EQaw936yaFoFgAB
Bandit4
Search for password in one of the files in the folder
Task can get messy if there is a large amount of files
cat ./* is not clean but you can still get the password
created script to organize and print file data (not practical for large files)
i=0; while [ $i -le 9 ]; do printf '\n';echo file0$i;cat ./-file0$i;printf '\n';((i++));done
koReBOKuIDDepwhWk7jZC0RTdopnAYKh
Bandit5
Find the password in a file with the following attributes human-readable 1033 bytes in size not executable
i=0 while [ $i -le 19 ];do
printf '\n';cd /home/bandit5/inhere/maybehere0$i;printf folder$i;printf '\n';ls -la | grep '1033';((i++));
done