From fbd298850a477a4a2c62c0dc819d84d28e3bdec6 Mon Sep 17 00:00:00 2001 From: merlokk <807634+merlokk@users.noreply.github.com> Date: Thu, 12 Aug 2021 13:44:01 +0300 Subject: [PATCH] text --- client/src/mifare/desfirecore.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/mifare/desfirecore.c b/client/src/mifare/desfirecore.c index 5a9456edc..8e557ab2a 100644 --- a/client/src/mifare/desfirecore.c +++ b/client/src/mifare/desfirecore.c @@ -845,8 +845,9 @@ void DesfirePrintMADAID(uint32_t appid, bool verbose) { uint16_t short_aid = ((aid[2] & 0xF) << 12) | (aid[1] << 4) | (aid[0] >> 4); - PrintAndLogEx(SUCCESS, "MIFARE Classic ID (MAD) " _YELLOW_("%04X") " AID %06x MAD AID Cluster 0x%02X " _YELLOW_("%s"), + PrintAndLogEx(SUCCESS, "MIFARE Classic ID (MAD): " _YELLOW_("%04X") " ver: " _YELLOW_("%01X") " AID: " _YELLOW_("%06x") " MAD AID Cluster[0x%02X]: " _YELLOW_("%s"), short_aid, + appid & 0x0f, appid, short_aid >> 8, nxp_cluster_to_text(short_aid >> 8));