mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
style
This commit is contained in:
@@ -890,12 +890,13 @@ static int CmdHF14ADesInfo(const char *Cmd) {
|
||||
iso14a_card_select_t card;
|
||||
res = SelectCard14443A_4(true, false, &card);
|
||||
if (res == PM3_SUCCESS) {
|
||||
static const uint8_t STANDALONE_DESFIRE[] = { 0x75, 0x77, 0x81, 0x02 };
|
||||
static const uint8_t JCOP_DESFIRE[] = { 0x75, 0xf7, 0xb1, 0x02 };
|
||||
static const uint8_t JCOP3_DESFIRE[] = { 0x78, 0x77, 0x71, 0x02 };
|
||||
|
||||
if (card.sak == 0x20) {
|
||||
|
||||
static const uint8_t STANDALONE_DESFIRE[] = { 0x75, 0x77, 0x81, 0x02 };
|
||||
static const uint8_t JCOP_DESFIRE[] = { 0x75, 0xf7, 0xb1, 0x02 };
|
||||
static const uint8_t JCOP3_DESFIRE[] = { 0x78, 0x77, 0x71, 0x02 };
|
||||
|
||||
if (card.ats_len >= 5) {
|
||||
if (0 == memcmp(card.ats + 1, STANDALONE_DESFIRE, 4)) {
|
||||
PrintAndLogEx(INFO, "Standalone DESFire");
|
||||
|
||||
Reference in New Issue
Block a user