From 8691d3b77fed059bcafa0c325ecc02ddf14ced89 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Mon, 5 Oct 2020 22:33:08 +0200 Subject: [PATCH] hf 14a info: tells when no ATS but SAK pretends 14a-4 --- client/src/cmdhf14a.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/src/cmdhf14a.c b/client/src/cmdhf14a.c index d63c4ce91..2b5570408 100644 --- a/client/src/cmdhf14a.c +++ b/client/src/cmdhf14a.c @@ -1968,6 +1968,9 @@ int infoHF14A(bool verbose, bool do_nack_test, bool do_aid_search) { } } else { PrintAndLogEx(INFO, "proprietary non iso14443-4 card found, RATS not supported"); + if ((card.sak & 0x20) == 0x20) { + PrintAndLogEx(INFO, "SAK incorrectly claims that card supports RATS"); + } } int isMagic = 0;