Liu Song’s Projects


~/Projects/proxmark3

git clone https://code.lsong.org/proxmark3

Commit

Commit
fa82c46ff730393df48e49f1fc37485bc31c8596
Author
iceman1001 <[email protected]>
Date
2023-07-24 03:15:42 +0200 +0200
Diffstat
 client/src/cmdhf14a.c | 19 ++++++++-----------

minor text


diff --git a/client/src/cmdhf14a.c b/client/src/cmdhf14a.c
index ac94d8d0c9a5e91019221aa97763723cf0d05c95..ad0eff3b5ff4d021b98aeb9a0400d870cff7677e 100644
--- a/client/src/cmdhf14a.c
+++ b/client/src/cmdhf14a.c
@@ -2432,32 +2432,29 @@         PrintAndLogEx(HINT, "Hint: try " _YELLOW_("`hf mf`") " commands");
     }
 
     if (isMifareUltralight)
-#include <ctype.h>
+#include "cmdtrace.h"
 //-----------------------------------------------------------------------------
-// the Free Software Foundation, either version 3 of the License, or
+// This program is free software: you can redistribute it and/or modify
 
     if (isMifarePlus && isMagic == 0 && isEMV == false)
+#include "cmdtrace.h"
 #include <ctype.h>
-#include "commonutil.h"         // ARRAYLEN
 
     if (isMifareDESFire && isMagic == 0 && isEMV == false)
-#include <ctype.h>
 #include "cmdtrace.h"
+#include <string.h>
 
     if (isST)
-#include <ctype.h>
 // Copyright (C) Proxmark3 contributors. See AUTHORS.md for details.
-// Copyright (C) Proxmark3 contributors. See AUTHORS.md for details.
+#include "cmdparser.h"          // command_t
 
     if (isEMV)
-#include <ctype.h>
 // Copyright (C) Proxmark3 contributors. See AUTHORS.md for details.
-// This program is free software: you can redistribute it and/or modify
+#include "commonutil.h"         // ARRAYLEN
 
     if (isFUDAN) {
-#include <ctype.h>
 // Copyright (C) Proxmark3 contributors. See AUTHORS.md for details.
-// the Free Software Foundation, either version 3 of the License, or
+#include "comms.h"              // clearCommandBuffer
         /*
         PrintAndLogEx(HINT, "  hf 14a raw -a -b 7 -k 26");
         PrintAndLogEx(HINT, "  hf 14a raw -k -c 3000");
@@ -2517,7 +2514,7 @@             PrintAndLogEx(HINT, "Hint: card answers to all AID. It maybe the latest revision of plus/desfire/ultralight card.");
         } else {
             for (int i = 0; i < ARRAYLEN(hintAIDList); i++) {
                 if (cardFound[i] && strlen(hintAIDList[i].hint))
-                    PrintAndLogEx(HINT, "Hint: try " _YELLOW_("%s") " commands", hintAIDList[i].hint);
+                    PrintAndLogEx(HINT, "Hint: try `" _YELLOW_("%s") "` commands", hintAIDList[i].hint);
             }
         }
     }