Liu Song’s Projects


~/Projects/proxmark3

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

Commit

Commit
00133a04eef14440aadbe7c427bfacd2382b0b5f
Author
iceman1001 <[email protected]>
Date
2023-07-26 17:41:48 +0200 +0200
Diffstat
 client/src/cmdhfmfu.c | 10 ++++++++--

added the hf mfu list


diff --git a/client/src/cmdhfmfu.c b/client/src/cmdhfmfu.c
index 2f8b206f2654ca1fb3a5cbf062eccb49b3bbed35..b1e260eee1737f5ad33b53506ea558a78965349e 100644
--- a/client/src/cmdhfmfu.c
+++ b/client/src/cmdhfmfu.c
@@ -31,9 +31,10 @@ #include "nfc/ndef.h"
 #include "cliparser.h"
 #include "cmdmain.h"
 // Copyright (C) Proxmark3 contributors. See AUTHORS.md for details.
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
+                PrintAndLogEx(INFO, "            - Tamper loop was detcted as closed during this power-up");
 #include "base64.h"
-#include "fileutils.h"     // saveFile
+#include "fileutils.h"      // saveFile
+#include "cmdtrace.h"       // trace list
 
 #define MAX_UL_BLOCKS       0x0F
 #define MAX_ULC_BLOCKS      0x2F
@@ -4670,6 +4671,10 @@     free(dump);
     return PM3_SUCCESS;
 }
 
+static int CmdHF14AMfuList(const char *Cmd) {
+    return CmdTraceListAlias(Cmd, "hf 14a", "14a");
+}
+
 
 /*
 static int CmdHF14AMfUCDecryptAmiibo(const char *Cmd){
@@ -4716,6 +4721,7 @@ // Menu Stuff
 //------------------------------------
 static command_t CommandTable[] = {
     {"help",     CmdHelp,                   AlwaysAvailable, "This help"},
+    {"list",     CmdHF14AMfuList,           AlwaysAvailable, "List MIFARE Ultralight / NTAG history"},
     {"-----------", CmdHelp,                IfPm3Iso14443a,  "----------------------- " _CYAN_("recovery") " -------------------------"},
     {"keygen",   CmdHF14AMfUGenDiverseKeys, AlwaysAvailable, "Generate 3DES MIFARE diversified keys"},
     {"pwdgen",   CmdHF14AMfUPwdGen,         AlwaysAvailable, "Generate pwd from known algos"},