cident super card

This commit is contained in:
iceman1001 2020-09-10 01:31:54 +02:00
parent cc2999d03b
commit 9ced99a853
3 changed files with 13 additions and 0 deletions

View file

@ -2308,6 +2308,15 @@ void MifareCIdent(void) {
isGen = MAGIC_GEN_2;
goto OUT;
}
// super card ident
uint8_t super[] = {0x0A, 0x00, 0x00, 0xA6, 0xB0, 0x00, 0x10};
ReaderTransmit(super, sizeof(super), NULL);
res = ReaderReceive(buf, par);
if (res == 22) {
isGen = MAGIC_SUPER;
goto OUT;
}
};
OUT:

View file

@ -1184,6 +1184,9 @@ int detect_classic_magic(void) {
case MAGIC_GEN_UNFUSED:
PrintAndLogEx(SUCCESS, "Magic capabilities : " _GREEN_("Write Once / FUID"));
break;
case MAGIC_SUPER:
PrintAndLogEx(SUCCESS, "Magic capabilities : " _GREEN_("super card"));
break;
default:
break;
}

View file

@ -219,6 +219,7 @@ ISO 7816-4 Basic interindustry commands. For command APDU's.
#define MAGIC_GEN_1B 2
#define MAGIC_GEN_2 4
#define MAGIC_GEN_UNFUSED 5
#define MAGIC_SUPER 6
/**
06 00 = INITIATE
0E xx = SELECT ID (xx = Chip-ID)