> For the complete documentation index, see [llms.txt](https://notes.cavementech.com/pentesting-quick-reference/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://notes.cavementech.com/pentesting-quick-reference/port-1833-mqtt.md).

# Port 1833 - MQTT

## References

{% embed url="<https://tryhackme.com/room/bugged>" %}

## Scan for topics

```
mosquitto_sub -h 10.10.154.150 -t "#"
```

## Subscribe to a specific topic

```
mosquitto_sub -h 10.10.154.150 -t "U4vyqNlQtf/0vozmaZyLT/15H9TF6CHg/pub"
```

## Publish a topic

```
mosquitto_pub -h 10.10.154.150 -t XD2rfR9Bez/GqMpRSEobh/TvLQehMg0E/sub -m 'hello'
```
