chg: 'hf mf chkkeys' - now uses NG

This commit is contained in:
iceman1001 committed 2019-04-29 02:07:40 +02:00
1 parent 7cc6975e52
commit 7454a4dcf2
5 files changed
+16 -8

No files matched your search

+2 -2
View File
@@ -84,11 +84,11 @@ local function checkBlock(blockno, testkeys, keytype)
core.clearCommandBuffer()
print(("Testing block %d, keytype %d, with %d keys"):format(blockno, keytype, chunksize))
local c = Command:newMIX{cmd = cmds.CMD_MIFARE_CHKKEYS,
local c = Command:newNG{cmd = cmds.CMD_MIFARE_CHKKEYS,
arg1 = arg1,
arg3 = chunksize,
data = d1}
status, err = checkCommand(c:sendMIX(false, TIMEOUT))
status, err = checkCommand(c:sendNG(false, TIMEOUT))
if status then return status, blockno end
start = start + chunksize