mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-28 02:50:21 +08:00
chg: iclass output
This commit is contained in:
parent
7bc8cd66cf
commit
cd3fc9242e
1 changed files with 5 additions and 2 deletions
|
@ -535,7 +535,7 @@ int HFiClassReader(const char *Cmd, bool loop, bool verbose) {
|
|||
}
|
||||
}
|
||||
if( readStatus & FLAG_ICLASS_READER_CSN){
|
||||
PrintAndLogEx(NORMAL, "CSN: %s", sprint_hex(data, 8));
|
||||
PrintAndLogEx(NORMAL, " CSN: %s", sprint_hex(data, 8));
|
||||
tagFound = true;
|
||||
}
|
||||
if (readStatus & FLAG_ICLASS_READER_CC) {
|
||||
|
@ -547,7 +547,10 @@ 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 );
|
||||
PrintAndLogEx(NORMAL, " App IA: %s", sprint_hex(data+8*5, 8));
|
||||
PrintAndLogEx(NORMAL, " : Possible iClass %s", (legacy) ? "(legacy tag)" : "(NOT legacy tag)");
|
||||
if ( legacy )
|
||||
PrintAndLogEx(SUCCESS, " : Possible iClass (legacy tag)");
|
||||
else
|
||||
PrintAndLogEx(WARNING, " : Possible iClass (NOT legacy tag)");
|
||||
}
|
||||
|
||||
if (tagFound && !loop) {
|
||||
|
|
Loading…
Reference in a new issue