]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhf.c
ADD: started to add a legic detection to "HF SEARCH"
[proxmark3-svn] / client / cmdhf.c
index 6701bee1eafbe43f0b18ace0f361a43e0c44f253..b240878277a841205a6e0f1e7e7e13e5d427b55e 100644 (file)
@@ -894,6 +894,12 @@ int CmdHFSearch(const char *Cmd){
                PrintAndLog("\nValid Topaz Tag Found - Quiting Search\n");
                return 1;
        }
+       ans = HFLegicInfo("", false);
+       if ( ans == 0) {
+               PrintAndLog("\nValid LEGIC Tag Found - Quiting Search\n");
+               return 1;
+       }
+       
        PrintAndLog("\nno known/supported 13.56 MHz tags found\n");
        return 0;
 }
Impressum, Datenschutz