Find the flag.
- Flag Format /flag:[a-zA-Z]+/
Provided Macbeth.docx
Hint : Not all characters are created equal.
Solution
Opening the file we can quickly tell that the entire file has been written in two fonts. We unzip the docx file, and grep the part we are interested in.
$ unzip Macbeth.docx
$ grep "Bitstream Vera Sans Mono\"/></w:rPr><w:t>\(.\)<" document.xml -o
Bitstream Vera Sans Mono"/></w:rPr><w:t>F<
Bitstream Vera Sans Mono"/></w:rPr><w:t>l<
Bitstream Vera Sans Mono"/></w:rPr><w:t>a<
Bitstream Vera Sans Mono"/></w:rPr><w:t>g<
Bitstream Vera Sans Mono"/></w:rPr><w:t>:<
Bitstream Vera Sans Mono"/></w:rPr><w:t>F<
Bitstream Vera Sans Mono"/></w:rPr><w:t>u<
Bitstream Vera Sans Mono"/></w:rPr><w:t>c<
Bitstream Vera Sans Mono"/></w:rPr><w:t>k<
Bitstream Vera Sans Mono"/></w:rPr><w:t>e<
Bitstream Vera Sans Mono"/></w:rPr><w:t>d<
Bitstream Vera Sans Mono"/></w:rPr><w:t>U<
Bitstream Vera Sans Mono"/></w:rPr><w:t>p<
Bitstream Vera Sans Mono"/></w:rPr><w:t>F<
Bitstream Vera Sans Mono"/></w:rPr><w:t>o<
Bitstream Vera Sans Mono"/></w:rPr><w:t>r<
Bitstream Vera Sans Mono"/></w:rPr><w:t>e<
Bitstream Vera Sans Mono"/></w:rPr><w:t>n<
Bitstream Vera Sans Mono"/></w:rPr><w:t>s<
Bitstream Vera Sans Mono"/></w:rPr><w:t>i<
Bitstream Vera Sans Mono"/></w:rPr><w:t>c<
Bitstream Vera Sans Mono"/></w:rPr><w:t>s<
That gives us our flag.
Flag
FuckedUpForensics
Recommended Reading
Timing Attack
#ctf #introductory #misc #webOnce upon a time, there was a programmer. His name was Anshul. He did not know how to work with passwords. His friend Animesh took this opportunity to do jugaad and guess the passwords so that he is able to order a lot of free shirts from MustCapture...
...Recommended Reading
Super Baby RSA
#crypto #ctf #introductory #rsaTime for RSA!
e = 65537
n = 134023913680045880492110426626164090971954352532495944119602241841766743315344885078078359876157853261789964632342961459801834169156073972150056251259429043527344585589350222304649100454018523375146422111308080990153227407607374257909945989989405880451908900962388521742688809203045971595430040363546058882461
...