Thaw Frost Tower Entrance

Challenge :
Turn up the heat to defrost the entrance to Frost Tower.
Click on the Items tab in your badge to find a link to the Wifi Dongle's CLI interface. Talk to Greasy Gopherguts outside the tower for tips
Difficulty Level :
drawing
Location :
Frost Tower Entrance
Elf/Troll :
drawing Grimy McTrollkins
drawing Hints from Grimy McTrollkins
Yo, I'm Grimy McTrollkins.
I'm a troll and I work for the big guy over there: Jack Frost.
I’d rather not be bothered talking with you, but I’m kind of in a bind and need your help.
Jack Frost is so obsessed with icy cold that he accidentally froze shut the door to Frost Tower!
I wonder if you can help me get back in.
I think we can melt the door open if we can just get access to the thermostat inside the building.
That thermostat uses Wi-Fi. And I’ll bet you picked up a Wi-Fi adapter for your badge when you got to the North Pole.
Click on your badge and go to the Items tab. There, you should see your Wi-Fi Dongle and a button to “Open Wi-Fi CLI.” That’ll give you
command-line interface access to your badge’s wireless capabilities.

Click on the badge and go to the Items tab. There, we see the Wi-Fi Dongle and a button to “Open Wi-Fi CLI.”
That gives us command-line interface access to wireless capabilities.

drawing drawing

Scan for any available the ESSIDs

iwlist wlan0 scanning 

drawing

We find an ESSID named “FROST-Nidus-Setup”.
Now we connect to “FROST-Nidus-Setup” ESSID.

iwconfig wlan0 essid FROST-Nidus-Setup

drawing

Connection succecssful to the ESSID.
Issue a curl command to http://nidus-setup:8080.

curl http://nidus-setup:8080

drawing

Looks like few APIs are hosted there.
Access the API docs
Note the /api/cooler does not need registration

curl http://nidus-setup:8080/apidoc

drawing

Following the documentation, we make use of /cooler endpoint passing a temperature which may melt ice e.g., 110 degrees

curl -XPOST -H 'Content-Type: application/json' \
  --data-binary '{"temperature": 110}' \
  http://nidus-setup:8080/api/cooler

drawing

The jack frost tower entrance is now open and the objective is now completed.

drawing

drawing