mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
fix super
This commit is contained in:
parent
9ced99a853
commit
eb353056dc
1 changed files with 12 additions and 9 deletions
|
@ -2277,6 +2277,16 @@ void MifareCIdent(void) {
|
||||||
ReaderTransmit(rats, sizeof(rats), NULL);
|
ReaderTransmit(rats, sizeof(rats), NULL);
|
||||||
res = ReaderReceive(buf, par);
|
res = ReaderReceive(buf, par);
|
||||||
if (memcmp(buf, "\x09\x78\x00\x91\x02\xDA\xBC\x19\x10\xF0\x05", 11) == 0) {
|
if (memcmp(buf, "\x09\x78\x00\x91\x02\xDA\xBC\x19\x10\xF0\x05", 11) == 0) {
|
||||||
|
|
||||||
|
// 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;
|
||||||
|
}
|
||||||
|
|
||||||
isGen = MAGIC_GEN_2;
|
isGen = MAGIC_GEN_2;
|
||||||
goto OUT;
|
goto OUT;
|
||||||
}
|
}
|
||||||
|
@ -2309,14 +2319,7 @@ void MifareCIdent(void) {
|
||||||
goto OUT;
|
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:
|
OUT:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue