From 9a4c363549842edf027ef7eb03f85fee4d77cd16 Mon Sep 17 00:00:00 2001 From: AloneLiberty <111039319+AloneLiberty@users.noreply.github.com> Date: Sun, 26 Mar 2023 18:03:46 +0300 Subject: [PATCH] Leading zeros in key --- client/src/cmdhfmf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/cmdhfmf.c b/client/src/cmdhfmf.c index 5aede7d00..7b50a1a9e 100644 --- a/client/src/cmdhfmf.c +++ b/client/src/cmdhfmf.c @@ -6804,7 +6804,7 @@ static int CmdHf14AMfSuperCard(const char *Cmd) { res = mfkey32_moebius(&data, &key64); 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); + PrintAndLogEx(SUCCESS, "UID: %s Sector %02x key %c [ " _GREEN_("%012" PRIX64) " ]", sprint_hex_inrow(outA, 4), data.sector, (data.keytype == 0x60) ? 'A' : 'B', key64); } else { PrintAndLogEx(FAILED, "failed to recover any key"); }