> For the complete documentation index, see [llms.txt](https://alham-rizvi.gitbook.io/alhamrizvi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://alham-rizvi.gitbook.io/alhamrizvi/picoctf-writeups/picoctf/web-exploitation/milkslap.md).

# milkslap

First, I opened the website, the **.png file looked like a GIF animation**. It showed a cursor, and when you moved it, it slapped milk on the person. I spent around **6 minutes interacting with it**, thinking it might be part of the challenge.

After that, I checked the **source code** of the page to see if there was anything interesting. While looking through it, I discovered that there was an **image file that could be downloaded directly**.

I downloaded the image using:

```bash
wget http://wily-courier.picoctf.net:51386/concat_v.png
```

After downloading the file, I started analyzing it.

First, I used **binwalk** to check if there were any embedded files inside the image, but it didn’t find anything useful.

Then I used **exiftool** to check the metadata, but again nothing interesting appeared.

Next, I tried **steghide**, thinking the image might contain hidden data with a password, but it also returned nothing.

Finally, I ran **zsteg** to check for LSB steganography inside the PNG file.

```bash
zsteg concat_v.png
```

Surprisingly, the **flag appeared on the second line of the output**.

So the hidden data was stored using **LSB steganography in the PNG image**, which `zsteg` was able to detect immediately.


---

# 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, and the optional `goal` query parameter:

```
GET https://alham-rizvi.gitbook.io/alhamrizvi/picoctf-writeups/picoctf/web-exploitation/milkslap.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
