Summary
A four-part Discord challenge where each part reveals a piece of the flag through a different medium: a bot's profile picture, a QR code hidden in status emoji updates, a collaborative singing event in voice chat, and binary data encoded as audio pitches.
Solution
Find all 4 parts of the flag:
Part 1
For the first part of the flag you needed to find the bot named PIP which when clicked on the profile picture revealed PART1.
Part 1: UVT{I_W1IL_5Hu7_
Part 2
After looking at the bot I saw that it changes its status to black and white square emojis. I then looked on the bot's profile and saw it had the Discord badge for slash commands. I opened a DM with the bot and looked at the commands it has and saw that they are all admin commands but they indicated to me that part 2 is a QR code split where each line is converted to black and white squares and cycled in its playing activity.
I took my Discord token and using the discord.py self bot library documentation made a simple script that just prints the bot's status each time it changes:
import discord
TOKEN = "token"
TARGET_ID = 1476986540650664132
class MyClient(discord.Client):
async def on_ready(self):
print("Connected!")
async def on_presence_update(self, before, after):
if before.id == TARGET_ID:
print(f"{after.activity}")
client = MyClient()
client.run(TOKEN)
After scanning the reconstructed QR code: Part 2: Up_f0R
Part 3
Now for the next part we did a funny thing where around 26-27 people got in a VC and we needed to start singing the famous "Never Gonna Give You Up" word by word, each of us naming the lyrics. In the end we got the approval from the Discord bot and got the third part of the flag.
Part 3: _m0n3Y_R0b0tI1
Part 4
I noticed that the bot was in a voice chat and after joining I saw that it says a series of "Pi" and "Pa" - 4 groups of them, then takes a long break. I waited until it finished those 4 groups and started an audio recording to capture all of them.
After that I input my recording in Sonic Visualiser and added a waveform view and looking at it I mapped Pi=0 Pa=1. After that I manually typed out 1 and 0 for each Pi and Pa and after looking at the result I realized that they were all the same binary string.
After decoding this from binary I got the last part: Part 4: _r1ckr0ll3dy@ll}
Complete Flag
UVT{I_W1IL_5Hu7_Up_f0R_m0n3Y_R0b0tI1_r1ckr0ll3dy@ll}