From 1d322686bbe81e7b8713fe38acbee1d352eb7fe0 Mon Sep 17 00:00:00 2001 From: Chris Date: Sat, 15 Sep 2018 12:58:50 +0200 Subject: [PATCH] CHG: added possible SE credential identification text --- client/cmdhficlass.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/client/cmdhficlass.c b/client/cmdhficlass.c index 7f0e3aa07..6b57d7efd 100644 --- a/client/cmdhficlass.c +++ b/client/cmdhficlass.c @@ -547,9 +547,14 @@ int HFiClassReader(const char *Cmd, bool loop, bool verbose) { } if (readStatus & FLAG_ICLASS_READER_AIA) { bool legacy = ( memcmp( (uint8_t *)(data + 8*5), "\xff\xff\xff\xff\xff\xff\xff\xff", 8) == 0 ); + + bool se_enabled = ( memcmp( (uint8_t *)(data + 8*5), "\xff\xff\xff\x00\x06\xff\xff\xff", 8) == 0 ); + PrintAndLogEx(NORMAL, " App IA: %s", sprint_hex(data+8*5, 8)); if ( legacy ) - PrintAndLogEx(SUCCESS, " : Possible iClass (legacy tag)"); + PrintAndLogEx(SUCCESS, " : Possible iClass (legacy credential tag)"); + else if( se_enabled ) + PrintAndLogEx(SUCCESS, " : Possible iClass (SE credential tag)"); else PrintAndLogEx(WARNING, " : Possible iClass (NOT legacy tag)"); }