mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-23 14:45:37 -07:00
select empty app
This commit is contained in:
parent
cefad27487
commit
b8ce6676ef
1 changed files with 2 additions and 2 deletions
|
@ -3077,13 +3077,13 @@ static int CmdHF14ADesSelectApp(const char *Cmd) {
|
||||||
SetAPDULogging(APDULogging);
|
SetAPDULogging(APDULogging);
|
||||||
CLIParserFree(ctx);
|
CLIParserFree(ctx);
|
||||||
|
|
||||||
if (dfnamelen > 0) { // dctx.cmdSet == DCCISO ?
|
if (dctx.cmdSet == DCCISO || dfnamelen > 0) {
|
||||||
uint8_t resp[250] = {0};
|
uint8_t resp[250] = {0};
|
||||||
size_t resplen = 0;
|
size_t resplen = 0;
|
||||||
res = DesfireISOSelect(&dctx, (char *)dfname, resp, &resplen);
|
res = DesfireISOSelect(&dctx, (char *)dfname, resp, &resplen);
|
||||||
if (res != PM3_SUCCESS) {
|
if (res != PM3_SUCCESS) {
|
||||||
DropField();
|
DropField();
|
||||||
PrintAndLogEx(FAILED, "ISO Select application " _RED_("failed"));
|
PrintAndLogEx(FAILED, "ISO Select application `%s` " _RED_("failed"), (char *)dfname);
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue