mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-04 07:11:10 +08:00
cident super card
This commit is contained in:
parent
cc2999d03b
commit
9ced99a853
3 changed files with 13 additions and 0 deletions
|
@ -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:
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue