Tuesday, July 19, 2022

 

Bandit4






bandit level4

ssh server: bandit.labs.overthewire.org port 2220

username: bandit4

password: pIwrPrtPN36QITSp3EQaw936yaFoFgAB



after connecting to the server ls -al shows the existing of a directory named "inhere"


$ cd inhere

$ ls -al

shows a list of 10 files with name -file0X where X is number from 0 to 9



traying to cat any file of them shows garbage, the only solution is to implement the hint in the challenge saying that the password is in the only humane readable file


using the file command shows the file type of each of them there is only one file which is an ASCII text file "-file07"


then we only need to read this file

$ cat ./-file07




this is the password for the next level
bandit5
tell we meet there


Your comments and feedback are highly appreciated

Thank You

Friday, July 15, 2022

Bandit3



 

bandit level 3

ssh server: bandit.labs.overthewire.org port 2220

username: bandit3

password: UmHadQclWmgdLOKQ3YNgjWxGoRMb5luK


ssh server connection, next the normal ls -al to list directory contents


obviously that there is something in the inhere directory, cd to the inhere.


 then if we tried to list its contents with the "ls" command without any extra arguments it will return nothing, but with the "-al" argument it shows a file named ".hidden" we should not neglect the "." in the beginning of the filename.
in Linux systems files are hided by adding that "." at the beginning of its name, now 

$ cat .hidden 


it prints out the next challenge bandit4 password
meet you in bandit4

Your comments and feedback are highly appreciated

Thank You

Bandit26

  Bandit26 bandit level26 ssh server: bandit.labs.overthewire.org port 2220 username:  bandit26 password:  c7GvcKlw9mC7aUQaPx7nwFstuAIBw1o1 ...