Needle in a Haystack(s)
This page will include writeups for all 5 Needles in a Haystack
Last updated
This page will include writeups for all 5 Needles in a Haystack
Last updated
We are given 100 text files that seem to contain fake flags, we can safely assume that the real flag is hidden within the 100 text files.
Below is a script that iterates through every text file and looks for unique flags:
We are given 400 text files, and they all contain different fake flags this time
We can actually reuse the same script from the previous challenge to print out the unique flags and find the non-fake flag.
We are now given uh.. 1350 text files, and.. they contain rick roll lyrics... man who made this challenge...
The first 3 text files confirm that the flag is scattered across the 1350 files, but they are always on the first line.
The following python script iterates through all the text files and attempts to identify if the first line of the text file contains a non white-space character, if not- print it.
We are given 871 text files that each contain 1 alphabet, matching up the first couple alphabets show a fake flag.
The following python script combines the concepts from the last challenges; it iterates through the first character of every text file and appends it to form a string of length 35, then unique flags are extracted.
The final challenge of the pantology! Cool, so we are given... 3134 text files...
Anyway, this challenge is actually the easiest of the 5 :D. Just join the text files together and scroll around to find the flag :P
Making the final challenge the easiest was truly an evil decision; but it's called sanity check for a reason! (you don't need to complete the challenges in order)