fork download
  1. from binascii import hexlify, unhexlify
  2. from Crypto.Cipher import AES
  3. picc = "CACDEC6C5455EE52BB1DA40470963113"
  4. myaes = AES.new(16*"\x00", AES.MODE_CBC, 16*"\x00")
  5. okay = myaes.decrypt(unhexlify(picc))
  6. counter=int("0x"+hexlify(okay[10:11])+hexlify(okay[9:10])+hexlify(okay[8:9]),16)
  7. print counter
  8. # your code goes here
Success #stdin #stdout 0.01s 7344KB
stdin
Standard input is empty
stdout
261