mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-27 10:29:18 +08:00
CHG: added possible SE credential identification text
This commit is contained in:
parent
97f9c1a49f
commit
1d322686bb
1 changed files with 6 additions and 1 deletions
|
@ -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)");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue