vic4key

Keygen for KeyGenMe[1_2014] (esso_x)

Sep 6th, 2014
358
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.06 KB | None | 0 0
  1. # we assume P1 = P3 and P2 = P4
  2. # in F1 function: a ^ d = 0 infer 0 ^ 0x48EF856C = 0 infer F1 = 0 ^ d = d
  3. # in F2 like F1 function, should we had F2 = d ^ 0xE5824A68
  4. # call general value of P1, P3 is X and general value of P2, P4 is Y,
  5. # from R = R1 ^ R2 == 0x4890882A, to success R must be equal 0x4890882A should R1 ^ R2 = 0x4890882A
  6. # same F1 ^ F2 = 0x4890882A same X ^ Y ^ 0xE5824A68 = 0x4890882A
  7. # infer X ^ Y = 0x4890882A ^ 0xE5824A68 same X ^ Y = 0xAD12C242.
  8. # result X = 0xAD12C242 ^ Y
  9.  
  10. import random
  11.  
  12. def F1(a, d):
  13.     return ((a ^ d) & 0x48EF856C) ^ d
  14.  
  15. def F2(a, d):
  16.     return (((a ^ d) & 0x0B76bF76) ^ d) ^ 0xE5824A68
  17.  
  18. # P1 = Serial(0x09,8)
  19. # P2 = Serial(0x31,8)
  20. # P3 = Serial(0x39,8)
  21. # P4 = Serial(0x19,8)
  22.  
  23. P2 = P4 = random.randrange(0,0xFFFFFFFF)
  24. P1 = P3 = 0xAD12C242 ^ P2
  25.  
  26. R1 = F1(P1,P3)
  27. print "R1 = 0x%08X" % (R1)
  28.  
  29. R2 = F2(P4,P2)
  30. print "R2 = 0x%08X" % (R2)
  31.  
  32. R = R1 ^ R2
  33. print "R  = 0x%08X" % (R)
  34.  
  35. if (R == 0x4890882A):
  36.     print "Done!!"
  37. else:
  38.     print "Oops!!"
  39.  
  40. # .eg: 000000001234567800000000BF26943A0000000000000000BF26943A12345678
Advertisement
Add Comment
Please, Sign In to add comment