lf search - now tries to read out hitag2 data with the paxton key.
This commit is contained in:
1 parent
c9531ae62b
commit
805dc99b97
6 files changed
+95
-45
No files matched your search
+13
-2
@@ -1719,9 +1719,22 @@ int CmdLFfind(const char *Cmd) {
|
||||
PrintAndLogEx(INFO, _CYAN_("Checking for known tags..."));
|
||||
PrintAndLogEx(INFO, "");
|
||||
|
||||
int retval = PM3_SUCCESS;
|
||||
|
||||
// only run these tests if device is online
|
||||
if (is_online) {
|
||||
|
||||
if (IfPm3Hitag()) {
|
||||
if (ht2_read_paxton() == PM3_SUCCESS) {
|
||||
PrintAndLogEx(SUCCESS, "\nValid " _GREEN_("Paxton ID") " found!");
|
||||
if (search_cont) {
|
||||
found++;
|
||||
} else {
|
||||
goto out;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#if !defined ICOPYX
|
||||
if (IfPm3EM4x50()) {
|
||||
if (read_em4x50_uid() == PM3_SUCCESS) {
|
||||
@@ -1769,8 +1782,6 @@ int CmdLFfind(const char *Cmd) {
|
||||
}
|
||||
}
|
||||
|
||||
int retval = PM3_SUCCESS;
|
||||
|
||||
// ask / man
|
||||
if (demodEM410x(true) == PM3_SUCCESS) {
|
||||
PrintAndLogEx(SUCCESS, "\nValid " _GREEN_("EM410x ID") " found!");
|
||||
|
||||
Reference in new issue
Block a user