Update cmdhfmf.c

Signed-off-by: Oleg Moiseenko <807634+merlokk@users.noreply.github.com>
This commit is contained in:
Oleg Moiseenko 2023-11-09 01:35:26 +02:00 committed by GitHub
commit fdfe8869ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7509,8 +7509,10 @@ static int CmdHF14AGen4Info(const char *cmd) {
PrintAndLogEx(INFO, "Card type........... generic"); PrintAndLogEx(INFO, "Card type........... generic");
else if (resp[resplen - 2] == 0x02 && resp[resplen - 1] == 0xaa) else if (resp[resplen - 2] == 0x02 && resp[resplen - 1] == 0xaa)
PrintAndLogEx(INFO, "Card type........... limited functionality"); PrintAndLogEx(INFO, "Card type........... limited functionality");
else if (resp[resplen - 2] == 0x03 && resp[resplen - 1] == 0xa0)
PrintAndLogEx(INFO, "Card type........... old card version");
else if (resp[resplen - 2] == 0x06 && resp[resplen - 1] == 0xa0) else if (resp[resplen - 2] == 0x06 && resp[resplen - 1] == 0xa0)
PrintAndLogEx(INFO, "Card type........... broken functionality"); PrintAndLogEx(INFO, "Card type........... new card version");
else else
PrintAndLogEx(INFO, "Card type........... unknown %02x%02x", resp[resplen - 2], resp[resplen - 1]); PrintAndLogEx(INFO, "Card type........... unknown %02x%02x", resp[resplen - 2], resp[resplen - 1]);
} }