From 1bc14437318724d0fe85fbdf839a265e39db8751 Mon Sep 17 00:00:00 2001 From: dxl <64101226@qq.com> Date: Tue, 13 Oct 2020 17:33:32 +0800 Subject: [PATCH] 32 sector print Incomplete for Mifare 4K(more) --- client/src/cmdhfmf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/cmdhfmf.c b/client/src/cmdhfmf.c index b842bd7a7..ead78d7e4 100644 --- a/client/src/cmdhfmf.c +++ b/client/src/cmdhfmf.c @@ -3671,7 +3671,7 @@ static int CmdHF14AMfEGetSc(const char *Cmd) { PrintAndLogEx(NORMAL, "----+------------------------------------------------"); uint8_t blocks = 4; uint8_t start = sector * 4; - if (sector > 32) { + if (sector >= 32) { blocks = 16; start = 128 + (sector - 32) * 16; } @@ -4365,7 +4365,7 @@ static int CmdHF14AMfCGetSc(const char *Cmd) { PrintAndLogEx(NORMAL, "----+------------------------------------------------"); uint8_t blocks = 4; uint8_t start = sector * 4; - if (sector > 32) { + if (sector >= 32) { blocks = 16; start = 128 + (sector - 32) * 16; }