1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
| import base64 import string
s = [0x36, 0x33, 0x31, 0x16, 0x03, 0x32, 0x1F, 0x36, 0x3C, 0x22, 0x35, 0x32, 0x01, 0x3C, 0x3D, 0x0A, 0x01, 0x33, 0x07, 0x13, 0x07, 0x0B, 0x0C, 0x53, 0x01, 0x0A, 0x2D, 0x1F, 0x36, 0x0C, 0x58, 0x58, 0x65] q = '' for i in range(len(s)): q += chr(s[i] ^ 0x65)
print(q)
string1 = "+/EFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789ABCD" string2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
print (base64.b64decode(q.translate(str.maketrans(string1,string2))))
|