> For the complete documentation index, see [llms.txt](https://ravins-organization.gitbook.io/ctf-writeups/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ravins-organization.gitbook.io/ctf-writeups/2024/picoctf-2024/forensics/dear-diary.md).

# Dear Diary

https\://play.picoctf.org/practice/challenge/413?originalEvent=73\&page=4

**Description**

If you can find the flag on this disk image, we can close the case for good! Download the disk image [here](https://artifacts.picoctf.net/c_titan/63/disk.flag.img.gz).

First, given that its a disk image, we can try running strings on the file, while searching for "pico"

<figure><img src="https://175444261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyxEI13wXOyST4LLTOUiS%2Fuploads%2FGNu2ORxAuQmXI4zUOoxO%2FScreenshot%202024-03-28%20at%205.14.49%20PM.png?alt=media&amp;token=a566d485-da24-4414-ab7a-fb6254bb72b4" alt=""><figcaption></figcaption></figure>

As we can see, there was nothing useful. However as my team was solving this challenge, my teammate sent me the following picture,

<figure><img src="https://175444261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyxEI13wXOyST4LLTOUiS%2Fuploads%2FiJRgyzZcpTNJd3eEG94z%2Fimage.png?alt=media&amp;token=7174187f-3f42-420e-89c8-f222f2f00f9c" alt=""><figcaption><p>There seemed to be an innocous-file.txt</p></figcaption></figure>

This got me thinking that maybe the flag would be in a .txt file as the challenge did have a "Diary" in its name and there were some .txt files. I searched for flag.txt, with nothing showing up, tried flag as well, but still nothing. Finally, I tried very generically, ".txt" and from there I found that were 32 hits on .txt...

![](https://175444261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyxEI13wXOyST4LLTOUiS%2Fuploads%2FHEyWdCV2bEAQ6vV2xQGT%2FScreenshot%202024-03-28%20at%205.40.25%20PM.png?alt=media\&token=a4e261af-6806-44e9-bb0c-d8bf55421855)

By looking through each file.txt and combining the relevant parts of the flags, we can obtain the flag

```
picoCTF{1_533_n4m35_80d24b30}
```
