Find the flag here:
--[----->+<]>.++++++.-----------.++++++.[----->+<]>.----.---.+++[->+++<]>+.-------.++++++++++.++++++++++.++[->+++<]>.+++.[--->+<]>----.+++[->+++<]>++.++++++++.+++++.--------.-[--->+<]>--.+[->+++<]>+.++++++++.>--[-->+++<]>.
To understand what this code is, I made a plenty of research
- I searched as "What is esoteric", "Esoteric cryptography", "Esoteric coding"
- I found a clue while researching as "Esoteric coding"
- Esoteric coding is "An esoteric programming language is a programming language designed to test the boundaries of computer programming language design, as a proof of concept, as software art, as a hacking interface to another language, or as a joke."
- And the I found the answer, this coding is Brainfuck
- Brainfuck is "an esoteric programming language created in 1993 by Urban Müller. Notable for its extreme minimalism, the language consists of only eight simple commands and an instruction pointer. While it is fully Turing complete, it is not intended for practical use, but to challenge and amuse programmers."
- The main issue was I don't know how to decode it and I found this website
flag{wtf_is_brainfuck}
Find the flag in the attached file containing a haystack. Not including the quotes, the flag will be in the format of "flag{here_is_a_flag}". The text between the curly braces can consist of lowercase characters and underscores and be a maximum length of 16. You'll know it when you see it.
Download haystack.txt
I opened the file by LibreOffice and there were 1555 pages, 726 words, 7.257.622 characters, and it is hard to find answer if you think read all of them.
We have three clues given in the question:
- The answer must be start as "flag{"
- The length of answer must be 16 between the curly braces.
- The answer must be end as "}"
Firstly, I run grep -o -e '.....................}\b' haystack.txt > haystackv1.txt
to extract ending with "}" and included "flag{"
Dot means number of character in the answer with flag{
Then, I run grep -o -e '\bflag{.................' haystackv1.txt
to find which value start with "flag{"
Dot means number of character in the answer with }
flag{thy_flag_is_this}
This flag had an accident. What's it really supposed to be?
flag{161EBD7D45089B3446EE4E0D86DBCF92}
I copied and pasted the value on Google Search, it's MD5 and decode it.
flag{P@ssw0rd}
DeZmqMUkDJceycJHJPzZet
I used CyberChef to understand what is encoding and it's Base58
flag{not_base64}