Planet DesKel

DesKel's official page for CTF write-up, Electronic tutorial, review and etc.

12 September 2020 write-up: old-42

Link point tag
old-42 200 HTML

Hello there, welcome to another CTF writeup. Today’s is all about HTML and some base64 encoding.


The goal is simple, download the restricted flag.docx file. Let’s check out the source code.


Referring to the code, there is a base64 encoded GET request value for ?down. Decode the value and we get the following result


It is a file name but in base64! The answer is clear now, encode flag.docx in base 64 format


Visit the following URL with the encoded text as ?down value.

Download the flag an open up with docx reader such as Libreoffice docx reader.



tags: - html

Thanks for reading. Follow my twitter for latest update

If you like this post, consider a small donation. Much appreciated. :)


© 2020 DesKel