OverTheWire Waregames Bandit Level 4 Writeup
Bandit Level 3 -> Level 4
Level Goal:
The password for the next level is stored in a hidden file in the inhere directory.
Write-up:
First, verify that the file is located in the inhere
directory:
cd inhere
ls -a
The output shows that a .hidden
file exists in the inhere
directory.
Second, display the contents of the file.
cat .hidden
The output will display the password to log into bandit4.
pIwrPrtPN36QITSp3EQaw936yaFoFgAB
SSH into bandit4 using the discovered password to complete the next level.
ssh bandit4@bandit.labs.overthewire.org -p 2220
Proceed to the next level write-up.