From 6df95a2dc9a8e529037ebe75256e8dee5555f60d Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Thu, 30 Oct 2025 19:40:06 +0100 Subject: [PATCH] ident a payment card --- client/src/cmdhf14a.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/client/src/cmdhf14a.c b/client/src/cmdhf14a.c index b5afcfd5e..1ed853e05 100644 --- a/client/src/cmdhf14a.c +++ b/client/src/cmdhf14a.c @@ -2435,7 +2435,7 @@ static int detect_nxp_card_print(uint8_t sak, uint16_t atqa, uint64_t select_sta if (atqa == 0x0004 || atqa == 0x0048) { printTag("EMV"); type |= MTEMV; - } + } } } } @@ -2730,6 +2730,12 @@ int infoHF14A(bool verbose, bool do_nack_test, bool do_aid_search) { case 0x02: { // ST isST = true; isMifareClassic = false; + + uint16_t atqa = MemLeToUint2byte(card.atqa); + if (atqa == 0x0044) { + printTag("EMV"); + isEMV = true; + } break; } case 0x04: { // NXP