diff --git a/client/cmdlf.c b/client/cmdlf.c index 3fee78735..617d87c0e 100644 --- a/client/cmdlf.c +++ b/client/cmdlf.c @@ -1213,17 +1213,18 @@ int CmdLFfind(const char *Cmd) { // only run these tests if device is online if (isOnline) { + + if (IfPm3Hitag()) { + if (readHitagUid()) { + PrintAndLogEx(SUCCESS, "\nValid " _GREEN_("Hitag") "found!"); + return PM3_SUCCESS; + } + } + // only run if graphbuffer is just noise as it should be for hitag // The improved noise detection will find Cotag. if (getSignalProperties()->isnoise) { - if (IfPm3Hitag()) { - if (readHitagUid()) { - PrintAndLogEx(SUCCESS, "\nValid " _GREEN_("Hitag") "found!"); - return PM3_SUCCESS; - } - } - if (readMotorolaUid()) { PrintAndLogEx(SUCCESS, "\nValid " _GREEN_("Motorola FlexPass ID") "found!"); return PM3_SUCCESS;