# 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'
```
