Goal
Find the password for the next level under the inhere directory. The file is:
- human-readable
- 1033 bytes
- not executable
Steps
- SSH in:
ssh bandit6@bandit.labs.overthewire.org -p 2220
- Go into the directory:
cd inhere
- Use
findto locate the file by constraints:
find . -type f -size 1033c ! -executable
- Confirm it’s text (optional but good habit):
file <path-from-find>
- Read it:
cat <path-from-find>
That output is the password for Level 7.
Notes
1033cmeans 1033 bytes.- If you get multiple results, use
fileto pick the human-readable one.