> For the complete documentation index, see [llms.txt](https://encient.gitbook.io/ctf-writeups-and-notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://encient.gitbook.io/ctf-writeups-and-notes/ctf-platform/skr-ctf/steganography/steganography-2.md).

# Steganography 2

## Description

Find a way to decode the payload that was hidden in the image file. You don't need to wink your eyes. The password is skr.

Attachment: `hackersteg.jpg`

## Solution

The question says that there is a payload hidden in the image file and is password protected.

```
steghide extract -sf hackersteg.jpg
```

Therefore, we can try it with `steghide` and extract the text file which contains the flag.

{% hint style="info" %}
Why steghide? This comes with experience, where you will know that you have to use this tool most of the time when there is something embedded in the file and is password protected. So don't give up, practice makes perfect.
{% endhint %}

```
cat steganopayload26011.txt
```

`cat` command is used to read the contents in the text file.
