diff --git a/client/src/cmdhfmfdes.c b/client/src/cmdhfmfdes.c index f4c7eb421..904f2adab 100644 --- a/client/src/cmdhfmfdes.c +++ b/client/src/cmdhfmfdes.c @@ -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};