> For the complete documentation index, see [llms.txt](https://jedi.gitbook.io/jedi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jedi.gitbook.io/jedi/ctf-archive/wargames.my-ctf-2024/misc-invisible-ink-388-pts.md).

# Misc - Invisible Ink (388 pts)

### Description

The flag is hidden somewhere in this GIF. You can't see it? Must be written in transparent ink.

Author: Yes

Hint : Look into the GIF file format itself and how it handles transparency

Attachment : <https://ctf2024.wargames.my/files/132256bb7b3b084de6b542dca358f1f5/challenge.gif?token=eyJ1c2VyX2lkIjo3OCwidGVhbV9pZCI6MzQsImZpbGVfaWQiOjI5fQ.Z3Dgag.sSOXv2FLEKZjn6BsHmgWVlEIWfU>

### Solution

We were provided with a gif file called challenge.gif. When i see the title "invisible ink" i instantly thinking of steganography. So, we could use StegSolve to see the hidden content of the gif file

<figure><img src="/files/CfXHC9cpjEoFPVONfJge" alt="" width="301"><figcaption></figcaption></figure>

We can see each frame in the gif file using Frame Browser

<figure><img src="/files/uM9v8aFFpBUNuRiXVQgX" alt="" width="303"><figcaption><p>5th frame</p></figcaption></figure>

<figure><img src="/files/cfJUQenj1RMIwzMXIo2v" alt="" width="300"><figcaption><p>6th frame</p></figcaption></figure>

We find out that there are 2 hidden frame in the gif file. We can save the frame as picture and try to give some filter to the picture to see the content of the picture (you can see that there is a dark part in the middle of the picture, possibly the hidden content)

<figure><img src="/files/MF6bhpEQnWnCut6IISfw" alt="" width="302"><figcaption><p>5th frame hidden content</p></figcaption></figure>

<figure><img src="/files/QCbOkSGbZGnHMEkcPIV9" alt="" width="303"><figcaption><p>6th frame hidden content</p></figcaption></figure>

Using random colour map, we can reveal the hidden content of the frame. We now can stack together the two of them to reveal the full hidden content

<figure><img src="/files/bRUAql4AaTrytge43ice" alt="" width="375"><figcaption><p>Hidden Content (with canva :)</p></figcaption></figure>

### Flag

`wgmy{d51d8cd900b204e9800998ecf8427e}`


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://jedi.gitbook.io/jedi/ctf-archive/wargames.my-ctf-2024/misc-invisible-ink-388-pts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
