Level 4 - Find password in a hidden file inside inhere directory (Misc)
Description
The goal of this level is to get the password for the next level stored in a hidden file inside the inhere directory
Tech used
- cat
- find
- cd
- [ls]
Solutions
Run ssh bandit3@bandit.labs.overthewire.org -p 2220. Password is MNk8KNH3Usiio41PRUEoDFPqfxLPlSmx
- Find hidden file & print its output
- Run
cd inhere - Run
find . -type f -exec cat {} ";"(no-typegives output for.directory too)
- Run
- List directory to find hidden files & print output
- Run
cd inhere - Run
ls -ato check ifspaces in this filenameis present - Run
cat ./...Hiding-From-You
- Run