User4 has a lot of files and folders in their Documents folder. The flag can be found within one of them.
I fould I kid you not, 30 flag.txt files each in an individually labeled file. The ones that I’ve looked within were empty but I’ll admit to checking only a handful thus far. Am I supposed to create a loop concatenating them all together?
Hey bro, so i got the answer on this way:
1: I change from CMD to PS
2 Filter all objects with the .txt extension and concatenate to Sort-Object to filter all files:
yeh bro you doing well , i have other flow to finding the answer :
i’ve noticed that the most of flag file have a length equal to 0 so the Idea is to filter recursively for all file with .txt extension and then sort them with length , in the end of the output it give me flag.txt file with 44 length , and this is what i looked for :