From 56614ef80cf7d9174bd672671df3380603e03397 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 30 Sep 2020 12:10:27 +0200 Subject: [PATCH] comments about 6D 00 responses seen in the wild --- client/src/cmdhfmfp.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/src/cmdhfmfp.c b/client/src/cmdhfmfp.c index f56ef1ac8..a405ceb08 100644 --- a/client/src/cmdhfmfp.c +++ b/client/src/cmdhfmfp.c @@ -371,7 +371,8 @@ static int CmdHFMFPInfo(const char *Cmd) { int res = ExchangeRAW14a(cmd, sizeof(cmd), true, false, data, sizeof(data), &datalen, false); // DESFire answers 0x1C or 67 00 - // Plus answers 0x0B, 0x09 + // Plus answers 0x0B, 0x09, 0x06 + // Which tag answers 6D 00 ?? if ( data[0] != 0x0b && data[0] != 0x09 && data[0] != 0x1C && data[0] != 0x67) { PrintAndLogEx(INFO, _RED_("Send copy to iceman of this command output!")); PrintAndLogEx(INFO, "data: %s", sprint_hex(data, datalen)); @@ -384,6 +385,8 @@ static int CmdHFMFPInfo(const char *Cmd) { PrintAndLogEx(HINT, "Hint: Try " _YELLOW_("`hf mfdes info`")); DropField(); return PM3_SUCCESS; + } else if (memcmp(data, "\x6D\x00", 2) == 0) { + isPlus = false; } else { PrintAndLogEx(INFO, " result: " _GREEN_("MIFARE Plus SL0/SL3")); }