> For the complete documentation index, see [llms.txt](https://picoctf2021.haydenhousen.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://picoctf2021.haydenhousen.com/forensics/macrohard-weakedge.md).

# MacroHard WeakEdge

## Problem

> I've hidden a flag in this file. Can you find it? Forensics is fun.pptm

* [Forensics is fun.pptm](https://github.com/HHousen/PicoCTF-2021/blob/master/Forensics/MacroHard%20WeakEdge/Forensics%20is%20fun.pptm)

## Solution

1. Extract the PowerPoint presentation as a ZIP file, since PowerPoint files are actually ZIPs: `unzip Forensics\ is\ fun.pptm`
2. Looking through the extracted files, `ppt/slideMasters/hidden` looks suspicious.
3. Reading that file (`cat ppt/slideMasters/hidden`) shows `Z m x h Z z o g c G l j b 0 N U R n t E M W R f d V 9 r b j B 3 X 3 B w d H N f c l 9 6 M X A 1 f Q`.
4. We can decode that as base64 using [CyberChef](https://gchq.github.io/CyberChef/#recipe=From_Base64\('A-Za-z0-9%2B/%3D',true\)\&input=WiBtIHggaCBaIHogbyBnIGMgRyBsIGogYiAwIE4gVSBSIG4gdCBFIE0gVyBSIGYgZCBWIDkgciBiIGogQiAzIFggMyBCIHcgZCBIIE4gZiBjIGwgOSA2IE0gWCBBIDEgZiBR) to get the flag.

### Flag

`picoCTF{D1d_u_kn0w_ppts_r_z1p5}`


---

# 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://picoctf2021.haydenhousen.com/forensics/macrohard-weakedge.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.
