diff --git a/client/src/cmdhfmfdes.c b/client/src/cmdhfmfdes.c index 240fbddd41..d35fb89934 100644 --- a/client/src/cmdhfmfdes.c +++ b/client/src/cmdhfmfdes.c @@ -2661,7 +2661,7 @@ static int CmdHF14ADesDeleteApp(const char *Cmd) { arg_str0("m", "cmode", "", "Communicaton mode"), arg_str0("c", "ccset", "", "Communicaton command set"), arg_str0(NULL, "schann", "", "Secure channel"), - arg_str0(NULL, "aid", "", "Application ID of delegated application (3 hex bytes, big endian)"), + arg_str0(NULL, "aid", "", "Application ID to delete (3 hex bytes, big endian)"), arg_param_end }; CLIExecWithReturn(ctx, Cmd, argtable, false); @@ -2686,7 +2686,7 @@ static int CmdHF14ADesDeleteApp(const char *Cmd) { return PM3_ESOFT; } - res = DesfireSelectAndAuthenticate(&dctx, securechann, appid, verbose); + res = DesfireSelectAndAuthenticate(&dctx, securechann, 0x000000, verbose); if (res != PM3_SUCCESS) { DropField(); return res;