We likely have the correct flag format, as the encoded text included the curly braces {}. So we will only need to convert the morse characters into letters to get our flag.
Decoding morse code using a script
We can either decode morse code using an online morse code translator, or write a script to do the same thing.
Python Script to decode morse code
This script translates each morse sequence into its corresponding character using a dictionary. Characters that are not morse characters, such as the curly braces {} remain unchanged.
[BoxenTriq’s morse code translator] is also another option to get the flag, without programming.
Caution
The translator helps to translate the morse characters successfully, giving us this string:
PICOCTF#M0RS3C0D31SFUN2683824610#
However, since the curly braces {} are not regarded as morse characters (and therefore are not translated), they are replaced with hashtags “#” instead by the translator. Thus we will have to manually replace the hashtags ‘#’ with curly braces ‘{}’ accordingly to get the correct flag.