mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
fix: reset card state
reset card state after gen2 detection in ATS based magic identification Signed-off-by: 火山大隊長 <brian20020925@gmail.com>
This commit is contained in:
parent
d39b32997f
commit
02a4594a1b
1 changed files with 1 additions and 0 deletions
|
@ -3025,6 +3025,7 @@ void MifareCIdent(bool is_mfc, uint8_t keytype, uint8_t *key) {
|
|||
// Use special magic detection function that always attempts RATS regardless of SAK
|
||||
res = iso14443a_select_card_for_magic(uid, card, &cuid, true, 0);
|
||||
if (res) {
|
||||
mf_reset_card();
|
||||
if (cuid == 0xAA55C396) {
|
||||
flag |= MAGIC_FLAG_GEN_UNFUSED;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue