mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-23 06:35:38 -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);
|
||||
CLIParserFree(ctx);
|
||||
|
||||
if (dfnamelen > 0) { // dctx.cmdSet == DCCISO ?
|
||||
if (dctx.cmdSet == DCCISO || dfnamelen > 0) {
|
||||
uint8_t resp[250] = {0};
|
||||
size_t resplen = 0;
|
||||
res = DesfireISOSelect(&dctx, (char *)dfname, resp, &resplen);
|
||||
if (res != PM3_SUCCESS) {
|
||||
DropField();
|
||||
PrintAndLogEx(FAILED, "ISO Select application " _RED_("failed"));
|
||||
PrintAndLogEx(FAILED, "ISO Select application `%s` " _RED_("failed"), (char *)dfname);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue