This commit is contained in:
iceman1001
2024-01-26 13:16:44 +01:00
parent 79d143c970
commit 837a36f4eb
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -8743,6 +8743,7 @@ static int CmdHF14AGen4_GDM_SetBlk(const char *Cmd) {
PrintAndLogEx(SUCCESS, "Write ( " _GREEN_("ok") " )");
PrintAndLogEx(HINT, "try `" _YELLOW_("hf mf rdbl") "` to verify");
} else if (resp.status == PM3_ETEAROFF) {
PrintAndLogEx(INFO, "Tear off triggered");
return resp.status;
} else {
PrintAndLogEx(FAILED, "Write ( " _RED_("fail") " )");
+3 -1
View File
@@ -1011,8 +1011,10 @@ int CmdEM4x50WritePwd(const char *Cmd) {
return PM3_ETIMEOUT;
}
if (resp.status == PM3_ETEAROFF)
if (resp.status == PM3_ETEAROFF) {
PrintAndLogEx(INFO, "Tear off triggered");
return PM3_SUCCESS;
}
if (resp.status != PM3_SUCCESS) {
PrintAndLogEx(FAILED, "Writing password ( " _RED_("fail") " )");