mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
feat: more gen2 test
This commit is contained in:
parent
c45cde61ef
commit
dabf6a8470
1 changed files with 6 additions and 0 deletions
|
@ -3051,6 +3051,12 @@ void MifareCIdent(bool is_mfc, uint8_t keytype, uint8_t *key) {
|
||||||
} else if (memcmp(card->ats, "\x85\x00\x00\xA0\x00\x00\x0A\xA5\x00\x04\x04\x02\x01\x00\x0F\x03\x79\x0C", 18) == 0) {
|
} else if (memcmp(card->ats, "\x85\x00\x00\xA0\x00\x00\x0A\xA5\x00\x04\x04\x02\x01\x00\x0F\x03\x79\x0C", 18) == 0) {
|
||||||
// test for NTAG213 magic gen2
|
// test for NTAG213 magic gen2
|
||||||
isGen2 = true;
|
isGen2 = true;
|
||||||
|
} else if (memcmp(card->ats, "\x85\x00\x00\xA0\x00\x00\x0A\xAA\x00\x04\x04\x02\x01\x00\x13\x03\x60\xA6", 18) == 0) {
|
||||||
|
// test for non-standard NTAG216 magic gen2 888bytes (NT2H1611G0DU) ( USCUID-UL )
|
||||||
|
isGen2 = true;
|
||||||
|
} else if (memcmp(card->ats, "\x85\x00\x85\xA0\x00\x00\x0A\x5A\x00\x04\x04\x02\x01\x00\x11\x03\x44\xB4", 18) == 0) {
|
||||||
|
// test for non-standard NTAG215 magic gen2 504bytes (NT2H1511G0DU) ( USCUID-UL )
|
||||||
|
isGen2 = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isGen2) {
|
if (isGen2) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue