]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/scripts/tnp3dump.lua
CHG: the mifare Auth command can make use of a random nonce aswell.
[proxmark3-svn] / client / scripts / tnp3dump.lua
index 44e59657d6398782bccfad7141e72359e897e6bf..f3d377f7129d0d5b8843b3dc6bec24186730e533 100644 (file)
@@ -216,7 +216,7 @@ local function main(args)
                                        local baseStr = utils.ConvertHexToAscii(tmpHash:format(blockNo))
                                        local key = md5.sumhexa(baseStr)
                                        local aestest = core.aes128_decrypt(key, blockdata)
-                                       local hex = ConvertAsciiToHex(aestest)
+                                       local hex = utils.ConvertAsciiToHex(aestest)
                                        
                                        blocks[blockNo+1] = ('%02d  :: %s'):format(blockNo,hex)
                                        io.write(blockNo..',')
Impressum, Datenschutz