From d956e8c2a30d4f74f270da1d84b5ff71d4246757 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 14 Jan 2020 21:17:56 +0100 Subject: [PATCH] textual --- client/cmdhfmf.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/cmdhfmf.c b/client/cmdhfmf.c index e8e27793b..d48a1fe1e 100644 --- a/client/cmdhfmf.c +++ b/client/cmdhfmf.c @@ -571,7 +571,7 @@ static int CmdHF14AMfDarkside(const char *Cmd) { PrintAndLogEx(WARNING, "aborted via keyboard."); return 1; default : - PrintAndLogEx(SUCCESS, "found valid key: %012" PRIx64 "\n", key); + PrintAndLogEx(SUCCESS, "found valid key: "_YELLOW_("%012" PRIx64), key); break; } PrintAndLogEx(NORMAL, ""); @@ -1281,7 +1281,7 @@ static int CmdHF14AMfNested(const char *Cmd) { // check if tag doesn't have static nonce if (detect_classic_static_nonce() != 0) { PrintAndLogEx(WARNING, "Static nonce detected. Quitting..."); - PrintAndLogEx(INFO, "\t Try use `" _YELLOW_("hf mf staticnested") "`"); + PrintAndLogEx(INFO, "\t Try use " _YELLOW_("`hf mf staticnested`")); return PM3_EOPABORTED; } @@ -1534,7 +1534,8 @@ static int CmdHF14AMfNestedStatic(const char *Cmd) { // check if tag have static nonce if (detect_classic_static_nonce() == 0) { - PrintAndLogEx(WARNING, "Normal nonce detected. Quitting..."); + PrintAndLogEx(WARNING, "None static nonce detected. Quitting..."); + PrintAndLogEx(INFO, "\t Try use " _YELLOW_("`hf mf nested`")); return PM3_EOPABORTED; } @@ -1685,7 +1686,6 @@ jumptoend: return PM3_SUCCESS; } - static int CmdHF14AMfNestedHard(const char *Cmd) { uint8_t blockNo = 0; uint8_t keyType = 0;