widen mfp detection to include 0004

This commit is contained in:
iceman1001 committed 2022-05-21 09:28:38 +02:00
1 parent 76da953bcb
commit 65b9a9fb76
1 file changed
+5 -3
+5 -3
View File
@@ -1579,9 +1579,6 @@ static int detect_nxp_card(uint8_t sak, uint16_t atqa, uint64_t select_status) {
if ((atqa & 0x0001) == 0x0001) {
printTag("HID SEOS (smartmx / javacard)");
type |= HID_SEOS;
} else if ((atqa & 0x0004) == 0x0004) {
printTag("EMV");
type |= MTEMV;
} else {
printTag("MIFARE Plus EV1 2K/4K in SL3");
printTag("MIFARE Plus S 2K/4K in SL3");
@@ -1589,6 +1586,11 @@ static int detect_nxp_card(uint8_t sak, uint16_t atqa, uint64_t select_status) {
printTag("MIFARE Plus SE 1K");
type |= MTPLUS;
}
if ((atqa & 0x0004) == 0x0004) {
printTag("EMV");
type |= MTEMV;
}
}
printTag("NTAG 4xx");