Level 0
password bandit0
Level 1 -> Level 2
cat readme
O/P : boJ9jbbUNNfktd78OOpsqOltutMc3MY1
password boJ9jbbUNNfktd78OOpsqOltutMc3MY1
cat ./-
O/P : CV1DtqXWVFXTvM2F0k09SHz0YwRINYA9
password : CV1DtqXWVFXTvM2F0k09SHz0YwRINYA9
Level 2 -> Level 3
cat spaces\ in\ this\ filename
O/P : UmHadQclWmgdLOKQ3YNgjWxGoRMb5luK
password : UmHadQclWmgdLOKQ3YNgjWxGoRMb5luK
Level 3 -> Level 4
cd inhere
ls -a # -a is used to show all files including . and ..
cat .hidden
O/P : pIwrPrtPN36QITSp3EQaw936yaFoFgAB
password : pIwrPrtPN36QITSp3EQaw936yaFoFgAB
Level 4 -> Level 5
cd inhere
ls
for file in *; do echo $file; cat ./$file; done
cat ./-file07
O/P : koReBOKuIDDepwhWk7jZC0RTdopnAYKh
Alternative method :- (Trial and error) Find the number of files by a ls -a command and then keep on trying each file with file -f command.
Ex. : file -f -file00 and so on
password : koReBOKuIDDepwhWk7jZC0RTdopnAYKh
I initially didn't want to edit this file. It's the first file I checked into GitHub, but I could not bear how the commands were placed as plaintext. I formatted the commands to make sure it looks a liiittle okay. ( And reduced the header for the game name, haha)