Steganography
Dmitri sends us this message, will you be able to retrieve the secret message hidden inside?
MtMdDsFmMdHsMdMdUuo
Format : Hero{flag}
Author : xanhacks
Atoms (name of the challenge) + Dmitri (sender) leads us to the periodic table of elements created by Dmitri Mendeleev.
For example: Mt => Meitnerium(109) => ASCII(109) => m
Then we can do a python script to decode this message :
#!/usr/bin/env python3
import re
cipher = "MtMdDsFmMdHsMdMdUuo"
convert = {
'Fm': 100,
'Md': 101,
'Hs': 108,
'Mt': 109,
'Ds': 110,
'Uup': 115,
'Uuo': 118
}
for found in re.findall('[A-Z][a-z]*', cipher):
print(chr(convert[found]), end="")
print()
Execution :
$ python3 solve.py
mendeleev
Hero{mendeleev}