more clear message (thanks @amal!)
This commit is contained in:
@@ -429,7 +429,7 @@ int em4x05_clone_tag(uint32_t *blockdata, uint8_t numblocks, uint32_t pwd, bool
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (res == 0)
|
if (res == 0)
|
||||||
PrintAndLogEx(SUCCESS, "Success writing to tag");
|
PrintAndLogEx(SUCCESS, "Data written and verified");
|
||||||
|
|
||||||
return PM3_SUCCESS;
|
return PM3_SUCCESS;
|
||||||
}
|
}
|
||||||
@@ -824,7 +824,7 @@ int CmdEM4x05Write(const char *Cmd) {
|
|||||||
uint32_t dummy = 0;
|
uint32_t dummy = 0;
|
||||||
int status = em4x05_demod_resp(&dummy, true);
|
int status = em4x05_demod_resp(&dummy, true);
|
||||||
if (status == PM3_SUCCESS)
|
if (status == PM3_SUCCESS)
|
||||||
PrintAndLogEx(SUCCESS, "Success writing to tag");
|
PrintAndLogEx(SUCCESS, "Data written and verified");
|
||||||
else if (status == PM3_EFAILED)
|
else if (status == PM3_EFAILED)
|
||||||
PrintAndLogEx(ERR, "Tag denied %s operation", protectOperation ? "Protect" : "Write");
|
PrintAndLogEx(ERR, "Tag denied %s operation", protectOperation ? "Protect" : "Write");
|
||||||
else
|
else
|
||||||
@@ -1431,7 +1431,7 @@ static int unlock_write_protect(bool use_pwd, uint32_t pwd, uint32_t data, bool
|
|||||||
uint32_t dummy = 0;
|
uint32_t dummy = 0;
|
||||||
int status = em4x05_demod_resp(&dummy, true);
|
int status = em4x05_demod_resp(&dummy, true);
|
||||||
if (status == PM3_SUCCESS && verbose)
|
if (status == PM3_SUCCESS && verbose)
|
||||||
PrintAndLogEx(SUCCESS, "Success writing to tag");
|
PrintAndLogEx(SUCCESS, "Data written and verified");
|
||||||
else if (status == PM3_EFAILED)
|
else if (status == PM3_EFAILED)
|
||||||
PrintAndLogEx(ERR, "Tag denied PROTECT operation");
|
PrintAndLogEx(ERR, "Tag denied PROTECT operation");
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -489,7 +489,7 @@ int clone_t55xx_tag(uint32_t *blockdata, uint8_t numblocks) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (res == 0)
|
if (res == 0)
|
||||||
PrintAndLogEx(SUCCESS, "Success writing to tag");
|
PrintAndLogEx(SUCCESS, "Data written and verified");
|
||||||
|
|
||||||
return PM3_SUCCESS;
|
return PM3_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user