PhieuLang

Re200

Sep 19th, 2015
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.87 KB | None | 0 0
  1. _3B = "\x00"
  2. _955E = list("703053A1D3703F64B316E4045F3AEE42B1A137156E882AAB".decode("hex"))
  3. _9576 = list("20AC7A25D79CC21D58D01325966ADC7E2EB4B410CB1DC266".decode("hex"))
  4. _1E = list("87A4ECF86D254F283E181F76879D3C121EB256895BA15FAB".decode("hex"))
  5. stack = ""
  6. for i in xrange(0,18):
  7.     a=input[i]
  8.     # print hex(ord(a))
  9.     a = RCL(a)
  10.     # print hex(ord(a))
  11.     a = RCL(a)
  12.     # print hex(ord(a))
  13.     a = RCL(a)
  14.     # print hex(ord(a))
  15.     stack = a
  16.     # print "PUSH A"
  17.     a = _3B
  18.     # print hex(ord(a))
  19.     a = RCR(a)
  20.     # print hex(ord(a))
  21.     a = RCR(a)
  22.     # print hex(ord(a))
  23.     _3B = a
  24.     a = stack
  25.     # print "POP A"
  26.     a = sumstr(a,_3B)
  27.     # print hex(ord(a))
  28.     a = xor(a,_955E[i])
  29.     # print hex(ord(a))
  30.     _3B = a
  31.     a = RCL(a)
  32.     # print hex(ord(a))
  33.     a = RCL(a)
  34.     # print hex(ord(a))
  35.     a = RCL(a)
  36.     # print hex(ord(a))
  37.     a = RCL(a)
  38.     # print hex(ord(a))
  39.     a = xor(a,_9576[i])
  40.     print hex(ord(a))
  41.     _1E[i] = a
Advertisement
Add Comment
Please, Sign In to add comment