# Day 24

#### Task 30 — Communication protocols Day 24: You can't hurt SOC-mas, Mayor Malware! <a href="#d6f0" id="d6f0"></a>

**1. What is the Flag?**

1. Start the Machine, open a Terminal, and navigate to `cd ~/Desktop/MQTTSIM/challenge/`
2. Type `./challenge.sh` and open wireshark.
3. Click any in Interface and apply `mqtt` filter.
4. Click on the Subscribe request and note down the topic value.
5. Now Type the below command with the Topic value which turns on the Lights. `mosquitto_pub -h localhost -t "some_topic" -m "on"`

```typescript
CopyTHM{Ligh75on-day54ved}
```


---

# Agent Instructions: 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://foothold.gitbook.io/blog/advent-of-cyber-2024/day-24.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.
