trace list -t mf: add support for extended auths

This commit is contained in:
Philippe Teuwen 2024-07-29 11:57:55 +02:00
parent 9d66c11ac4
commit 29c180285e

View file

@ -430,6 +430,9 @@ int applyIso14443a(char *exp, size_t size, uint8_t *cmd, uint8_t cmdsize, bool i
default:
if ((cmd[0] & 0xF0) == 0xD0 && (cmdsize == 4 || cmdsize == 5)) {
snprintf(exp, size, "PPS - CID=%x", cmd[0] & 0x0F) ;
} else if ((cmd[0] & 0xF0) == 0x60 && (cmdsize == 4)) {
MifareAuthState = masNt;
snprintf(exp, size, "AUTH-%02X(" _MAGENTA_("%d") ")", cmd[0], cmd[1]);
} else {
return PM3_ESOFT;
}