From 04133e6d078856bd7e4ec2fa053bca01d84cae6b Mon Sep 17 00:00:00 2001 From: douniwan5788 Date: Sat, 15 Mar 2025 04:19:58 +0800 Subject: [PATCH] =?UTF-8?q?Add=20`lf=20search`=20Chipset=20detection=20for?= =?UTF-8?q?=20Hitag=20=C2=B5=20/=208265?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/cmdlf.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/client/src/cmdlf.c b/client/src/cmdlf.c index b2f8ba20c..7bf4dd553 100644 --- a/client/src/cmdlf.c +++ b/client/src/cmdlf.c @@ -41,6 +41,7 @@ #include "cmdlfhid.h" // for hid menu #include "cmdlfhitag.h" // for hitag menu #include "cmdlfhitaghts.h" // for hitag S sub commands +#include "cmdlfhitagu.h" // for hitag µ sub commands #include "cmdlfidteck.h" // for idteck menu #include "cmdlfio.h" // for ioprox menu #include "cmdlfcotag.h" // for COTAG menu @@ -1602,6 +1603,14 @@ static bool check_chiptype(bool getDeviceData) { retval = true; goto out; } + + // Hitag µ + if (read_htu_uid() == PM3_SUCCESS) { + PrintAndLogEx(SUCCESS, "Chipset detection: " _GREEN_("Hitag µ / 8265")); + PrintAndLogEx(HINT, "Hint: try " _YELLOW_("`lf hitag htu`") " commands"); + retval = true; + goto out; + } }