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:
1 parent
2e810d50de
commit
55eb0a8d82
1 file changed
+4
@@ -4200,6 +4200,8 @@ out:
|
|||||||
data[7] = TEAR_UNLOCKED;
|
data[7] = TEAR_UNLOCKED;
|
||||||
|
|
||||||
iclass_write_block(blockno, data, mac, key, use_credit_key, elite, rawkey, use_replay, false, auth, shallow_mod);
|
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 {
|
} else {
|
||||||
PrintAndLogEx(FAILED, " ( %s )", _RED_("fail"));
|
PrintAndLogEx(FAILED, " ( %s )", _RED_("fail"));
|
||||||
}
|
}
|
||||||
@@ -4213,6 +4215,8 @@ out:
|
|||||||
data[7] = TEAR_UNLOCKED;
|
data[7] = TEAR_UNLOCKED;
|
||||||
|
|
||||||
iclass_write_block(blockno, data, mac, key, use_credit_key, elite, rawkey, use_replay, false, auth, shallow_mod);
|
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;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user