mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-23 06:35:38 -07:00
info fix
This commit is contained in:
parent
2f3c9969aa
commit
627d775331
1 changed files with 6 additions and 6 deletions
|
@ -625,6 +625,12 @@ static int CmdHF14ADesInfo(const char *Cmd) {
|
|||
dctx.commMode = DCMPlain;
|
||||
dctx.cmdSet = DCCNative;
|
||||
|
||||
res = DesfireAnticollision(false);
|
||||
if (res != PM3_SUCCESS) {
|
||||
DropField();
|
||||
return res;
|
||||
}
|
||||
|
||||
if (cardtype == DESFIRE_EV2 ||
|
||||
cardtype == DESFIRE_LIGHT ||
|
||||
cardtype == DESFIRE_EV3 ||
|
||||
|
@ -646,12 +652,6 @@ static int CmdHF14ADesInfo(const char *Cmd) {
|
|||
}
|
||||
}
|
||||
|
||||
res = DesfireSelectAIDHex(&dctx, 0x000000, false, 0);
|
||||
if (res != PM3_SUCCESS) {
|
||||
DropField();
|
||||
return res;
|
||||
}
|
||||
|
||||
PICCInfoS PICCInfo = {0};
|
||||
|
||||
uint8_t aidbuf[250] = {0};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue