From cc73449c40af4b077e4e6379b9087b8e99f82d14 Mon Sep 17 00:00:00 2001 From: datatags Date: Wed, 6 Dec 2023 10:19:22 -0800 Subject: [PATCH] Interactive reader attack sim now returns --- client/src/cmdhfmf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/cmdhfmf.c b/client/src/cmdhfmf.c index 935d1cb82..cf7339d5a 100644 --- a/client/src/cmdhfmf.c +++ b/client/src/cmdhfmf.c @@ -3890,6 +3890,7 @@ static int CmdHF14AMfSim(const char *Cmd) { nonces_t data[1]; memcpy(data, resp.data.asBytes, sizeof(data)); readerAttack(k_sector, k_sectors_cnt, data[0], setEmulatorMem, verbose); + break; } //iceman: readerAttack call frees k_sector. this call below is useless. showSectorTable(k_sector, k_sectors_cnt);