Challenge Decription
ASCII is a 7-bit encoding standard which allows the representation of text using the integers 0-127.
Using the below integer array, convert the numbers to their corresponding ASCII characters to obtain a flag.
[99, 114, 121, 112, 116, 111, 123, 65, 83, 67, 73, 73, 95, 112, 114, 49, 110, 116, 52, 98, 108, 51, 125]
Solution
Using the python chr() function allows the conversion of the ordinal numbers into characters.
1ords = [99, 114, 121, 112, 116, 111, 123, 65, 83, 67, 73, 73, 95, 112, 114, 49, 110, 116, 52, 98, 108, 51, 125]
2flag = ''
3for i in ords:
4 flag += chr(i)
5print(flag)
Flag: crypto{ASCII_pr1nt4bl3}
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.