1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
| from itertools import permutations import string ''' v7 = 0x4FFED263; v8 = 0x3F00D9B9; v9 = 0x504380A0; v10 = 0x55
0xFD, 0x9A, 0x9F, 0xE8, 0xC2, 0xAE, 0x9B, 0x2D, 0xC3, 0x11, 0x2A, 0x35, 0xF6, 0x00, 0x00, 0x00 '''
a = [0x63,0xd2,0xfe,0x4f,0xb9,0xd9,0x00,0x3f,0xa0,0x80,0x43,0x50,0x55] b = [0xFD, 0x9A, 0x9F, 0xE8, 0xC2, 0xAE, 0x9B, 0x2D, 0xC3, 0x11, 0x2A, 0x35, 0xF6]
idx = 0 while(idx<13): for i in permutations(string.printable,1): i = i[0] if idx%3 == 0: if (ord(i)+b[idx])&0xff == a[idx]: print(i,end='') elif idx%3 == 1: if (ord(i)-b[idx])&0xff == a[idx]: print(i,end='') else: if (ord(i)^b[idx])&0xff == a[idx]: print(i,end='') idx += 1 print() a = [ 0x54, 0x54, 0x54, 0x54, 0x54, 0x54, 0x3A, 0x30, 0x30, 0x30, 0x55, 0x3A, 0x54, 0x40, 0x54, 0x54, 0x54, 0x54, 0x3A, 0x30, 0x3A, 0x3A, 0x3A, 0x3A, 0x54, 0x40, 0x54, 0x54, 0x54, 0x54, 0x3A, 0x30, 0x30, 0x30, 0x30, 0x3A, 0x54, 0x54, 0x54, 0x54, 0x40, 0x54, 0x3A, 0x3A, 0x3A, 0x3A, 0x30, 0x3A, 0x54, 0x54, 0x54, 0x54, 0x88, 0x54, 0x3A, 0x3A, 0x3A, 0x3A, 0x3A, 0x3A] idx= 0 for i in a: if idx<6: print(chr(i>>1),end='') else: print(chr(i^0x10),end='') idx += 1 if idx == 6 or idx == 12: print() if idx == 12: idx = 0
''' v4 = 0x41203E53; v5 = 0xB242C1E; v6 = 0x52372836; v7 = 0xE; ''' a = [0x53,0x3e,0x20,0x41,0x1e,0x2c,0x24,0x0b,0x36,0x28,0x37,0x52,0x0e] b = "aaassssdddsss" for i in range(len(a)): print(chr(ord(b[i])^a[i]),end='')
|