back
Bandit 03 - writeups
Sharing this writeups by following overthewire rules.
This writing is for Level 3.
Bandit Level 3 → Level 4
ssh bandit3@bandit.labs.overthewire.org -p 2220
found password: KKk8KNH3Usi2312PRUEoDFPqfxLPlsms
bandit3@bandit:~$ ls
inhere
bandit3@bandit:~$ cd inhere
bandit3@bandit:~/inhere$ ls -a
. .. ...Hiding-From-You
bandit3@bandit:~/inhere$ cat "...Hiding-From-You"
3Wmrjklmq3IPxneAaMGhap0xfnf3NJ
bandit3@bandit:~/inhere$ exit
logout
Connection to bandit.labs.overthewire.org closed.
Explanation:
ls shows only inhere directory (no hidden files).
cd inhere enters it; ls shows empty (plain ls skips hidden).
ls -a reveals hidden files (. prefix): ., .., ...Hiding-From-You.
cat "...Hiding-From-You" reads it (quotes handle dots/spaces).