Update cmdhficlass.c

Fixed missing hf iclass blacktears read after @iceman1001 's update of the function from IF to SWITCH in: https://github.com/Antiklesys/proxmark3/commit/3eac1861f6baa0127855edb2323781f7f4bda8ab
This commit is contained in:
Antiklesys
2026-03-18 16:20:44 +08:00
parent 2e810d50de
commit 55eb0a8d82
+4
View File
@@ -4200,6 +4200,8 @@ out:
data[7] = TEAR_UNLOCKED;
iclass_write_block(blockno, data, mac, key, use_credit_key, elite, rawkey, use_replay, false, auth, shallow_mod);
iclass_read_interesting_data(key, keyType, elite, rawkey, use_replay, verbose, shallow_mod);
} else {
PrintAndLogEx(FAILED, " ( %s )", _RED_("fail"));
}
@@ -4213,6 +4215,8 @@ out:
data[7] = TEAR_UNLOCKED;
iclass_write_block(blockno, data, mac, key, use_credit_key, elite, rawkey, use_replay, false, auth, shallow_mod);
iclass_read_interesting_data(key, keyType, elite, rawkey, use_replay, verbose, shallow_mod);
break;
}