Login#
- ssh :
ssh bandit5@bandit.labs.overthewire -p 2220
- password :
4oQYVPkxZOOEOO5pTW81FB8j8lxXGUQw
Task#
- the goal is to find a file that is human readable and has a size of 1033 bytes among a lof of files and directories
Solution#
- in this solution I used the command
find
with 2 parameters which are :-readable
to find any file that is readable for humans (which means a text file)-size <size><unit>
, to specify the file size, we have to replace the <...>
with the correct values , the <unit>
part is gonna be replaced with c
(check the man
for more details)
cd inhere
find -readable -size 1033c