Bandit 6 Objectives 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 Solution So we need to find a file that could be in a number of differnt directories that is a not an excutable, human readable and 1033 bytes I'm assuming the file size will be the best place to start to weed out the multiples files listed so we will use find bandit5@bandit:~$ find ./ -type f -size 1033c ./inhere/maybehere07/.file2 Bam only one file let's cat that bad boy and see if the password is in there bandit5@bandit:~/inhere$ cat ./maybehere07/.file2 DXjZPULLxYr17uwoI01bNLQbtFemEgo7 Not to hard now let's do it with python #Import os module import os #Import math and time module import math,time #Set listing start location dir_count = 0 file_count = 0 #Traverse directory tree for (path,dirs,files) in os.walk(os.curdir): dir_coun
@circusmonkey404 on the twitters; DM for contact