The hint for the flag was.
See if you have the patience to scratch the itch; patience is key. Mosquitto bites are so annoying! Connect at: 18.104.22.168:1883 Creds: iot:iot
We had a feeling that this had something to do with MQTT based off the mosquitto name. Searching for port
1883 confirmed this, as this is a standard port of MQTT.
We installed the mosquitto client using:
sudo apt install -y mosquitto-clients
We then connected to the server using:
mosquitto_sub -h 22.214.171.124 -p 1883 -u iot -P iot -t "#"
# topic is the standard wildcard topic, so that we can listen to all the topics on the server. From here, well, we waited.
When subscribed to all the topics, we were greeted with a message every second
Representative Bruno Person Horses Blonde Cork Fish Margin Fly Battery Dinner Wind Blonde Copy Truck Look Crate ...
After about 30 minutes, the flag was sent, and we got it.