fork download
  1. from binascii import hexlify, unhexlify
  2. from Crypto.Cipher import AES
  3.  
  4. IV = 16 * '\x00'
  5. key = 16 * '\x00' # FileAR.SDMMetaRead Key
  6.  
  7. Enc_PICC_Data = 'EF963FF7828658A599F3041510671E88'
  8. myaes = AES.new(key, AES.MODE_CBC, IV=IV)
  9. PICCData = myaes.decrypt(unhexlify(Enc_PICC_Data))
  10.  
  11. SDMReadCtr = hexlify(PICCData[8:11])
  12.  
Success #stdin #stdout 0.03s 25816KB
stdin
Standard input is empty
stdout
from binascii import hexlify, unhexlify
from Crypto.Cipher import AES

IV = 16 * '\x00'
key = 16 * '\x00' # FileAR.SDMMetaRead Key

Enc_PICC_Data = 'EF963FF7828658A599F3041510671E88'
myaes = AES.new(key, AES.MODE_CBC, IV=IV)
PICCData = myaes.decrypt(unhexlify(Enc_PICC_Data))

SDMReadCtr = hexlify(PICCData[8:11])