From f45c330843546a271f3b089368771f7bb54ed47e Mon Sep 17 00:00:00 2001 From: merlokk <807634+merlokk@users.noreply.github.com> Date: Mon, 4 Mar 2019 19:25:13 +0200 Subject: [PATCH] small visual fixes --- client/cmdhfmfp.c | 2 +- client/mifare/mifare4.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/client/cmdhfmfp.c b/client/cmdhfmfp.c index e6363d64c..725dbca04 100644 --- a/client/cmdhfmfp.c +++ b/client/cmdhfmfp.c @@ -725,7 +725,7 @@ int CmdHFMFPMAD(const char *cmd) { } for(int j = 0; j < (verbose ? 4 : 3); j ++) - PrintAndLogEx(NORMAL, "---[%03d] %s", (i + 1) * 4 + j, sprint_hex(&vsector[j * 16], 16)); + PrintAndLogEx(NORMAL, " [%03d] %s", (i + 1) * 4 + j, sprint_hex(&vsector[j * 16], 16)); } } } diff --git a/client/mifare/mifare4.c b/client/mifare/mifare4.c index 3fe67077f..c95529a84 100644 --- a/client/mifare/mifare4.c +++ b/client/mifare/mifare4.c @@ -302,7 +302,8 @@ int MifareAuth4(mf4Session *session, uint8_t *keyn, uint8_t *key, bool activateF memmove(session->Kmac, kmac, 16); } - PrintAndLogEx(INFO, "Authentication OK"); + if (verbose) + PrintAndLogEx(INFO, "Authentication OK"); return 0; }