Bandit 5
Bandit 5
Level Goal
The password for the next level is stored in a file somewhere under the inhere directory and has all of the following properties:- human-readable
- 1033 bytes in size
- not executable
Commands you may need to solve this level
ls, cd, cat, file, du, findIf you happen to be solving this one on your own, we need to check the man page for it. We need to find the file that has a size of 1033 bytes. We need to indicate it with the size switch and use the 1033c in which the c indicates the number of bytes
bandit5@bandit:~$ ls
inhere
bandit5@bandit:~$ cd ./inhere
bandit5@bandit:~/inhere$ ls
maybehere00 maybehere04 maybehere08 maybehere12 maybehere16
maybehere01 maybehere05 maybehere09 maybehere13 maybehere17
maybehere02 maybehere06 maybehere10 maybehere14 maybehere18
maybehere03 maybehere07 maybehere11 maybehere15 maybehere19
bandit5@bandit:~/inhere$ find -size 1033c
./maybehere07/.file2
bandit5@bandit:~/inhere$ cat ./maybehere07/.file2
DXjZPULLxYr17uwoI01bNLQbtFemEgo7
Comments
Post a Comment