From a0193fa90341c7e675d197e39d6f89007fd5420f Mon Sep 17 00:00:00 2001 From: Victor Date: Sat, 3 Aug 2019 16:46:58 +0100 Subject: [PATCH] Better warn user of hardcoded hitag info --- client/cmdlfhitag.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/client/cmdlfhitag.c b/client/cmdlfhitag.c index 0fc4b053c..1a50b0ac3 100644 --- a/client/cmdlfhitag.c +++ b/client/cmdlfhitag.c @@ -478,15 +478,9 @@ static bool getHitagUid(uint32_t *uid) { } static int CmdLFHitagInfo(const char *Cmd) { - PrintAndLogEx(INFO, "Hitag2 tag information "); - PrintAndLogEx(INFO, "To be done!"); - PrintAndLogEx(INFO, "------------------------------------"); - char ctmp = tolower(param_getchar(Cmd, 0)); if (ctmp == 'h') return usage_hitag_info(); - // pwd or key - // read UID uint32_t uid = 0; if (getHitagUid(&uid) == false) @@ -495,8 +489,8 @@ static int CmdLFHitagInfo(const char *Cmd) { PrintAndLogEx(SUCCESS, "UID: %08X", uid); // how to detemine Hitag types? - // read block3, get configuration byte. + PrintAndLogEx(FAILED, _RED_("TODO: This is a hardcoded example!")); // common configurations. printHitagConfiguration(0x06);