Overthewire write Up bandit level 3 to 410 Feb 2021 #OverTheWire #Bandit
This is a write-up for the Over The Wire wargame Bandit level 3 to level 4
The password for the next level is stored in a hidden file in the inhere directory.
The hostname is
Commands used for this level:
ls -a - List information about all the file’s include hidden files that start with
cd - change directory
cat - used to view contents of a file.
After logging in type
You will see a directory named
inhere (you can tell it’s a directory instead of a file because it is a different color).
Change directory to inhere by typing
Now in the
/home/bandit3/inhere directory go ahead and type
Nothing will be displayed because the file we are looking for is hidden by placing a
. in front of the file name. Placing a period as the first character of a file name is how you hide files in Linux.
We need to use
ls -a , the dash a means display all files including hidden files.
We will now see the .hidden file.
cat .hidden and the password for level 4 is displayed.