0x01 DosSnake

1
2
3
4
5
6
7
8
9
10
flag = ""
key = [0x44, 0x41, 0x53, 0x43, 0x54, 0x46]
enc = [0x3F, 0x09, 0x63, 0x34, 0x32, 0x13, 0x2A, 0x2F, 0x2A, 0x37,
0x3C, 0x23, 0x00, 0x2E, 0x20, 0x10, 0x3A, 0x27, 0x2F, 0x24,0x3A, 0x30, 0x75, 0x67, 0x65, 0x3C]
for i in range(len(enc)):
enc[i] ^= key[i % 6]
for i in range(len(enc)):
flag += chr(enc[i])
print(flag)
#DASCTF{H0wfUnnytheDosSnakeis!!!}