From 60b12ca905bb72c01cffb3142d4038075fe31287 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Fri, 30 Oct 2020 02:32:13 +0100 Subject: [PATCH] more details of recovery --- client/src/cmdhfmf.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/client/src/cmdhfmf.c b/client/src/cmdhfmf.c index c6dec687b..bbc74957f 100644 --- a/client/src/cmdhfmf.c +++ b/client/src/cmdhfmf.c @@ -5395,11 +5395,15 @@ static int CmdHf14AMfSuperCard(const char *Cmd) { uint64_t key64 = -1; res = mfkey32_moebius(&data, &key64); - if (res) - PrintAndLogEx(SUCCESS, "recovered key [ " _GREEN_("%12" PRIX64) " ]", key64); - else + if (res) { + PrintAndLogEx(SUCCESS, "UID: %s Sector %02x key %c [ " _GREEN_("%12" PRIX64) " ]" + , sprint_hex_inrow(outA, 4) + , data.sector + , (data.keytype == 0x60) ? 'A' : 'B' + , key64); + } else { PrintAndLogEx(FAILED, "failed to recover any key"); - + } return PM3_SUCCESS; }