The Goal
The password is stored somewhere in the inhere directory. The level hints that
the file is human-readable, 1033 bytes in size, and not executable.
The Approach
The find command can filter files by size using the -size flag.
The suffix c means bytes. Searching by size alone was enough to narrow it
down to a single result:
bandit5@bandit:~/inhere$ find -size 1033c
./maybehere07/.file2
bandit5@bandit:~/inhere$ cat ./maybehere07/.file2
password
Notably, find also supports -executable to filter by whether a
file is executable, which would have been useful here to exclude matches further.
Commands Covered
find -size 1033c, find files of exactly 1033 bytes (c= bytes)find -executable, find files that are marked executable