mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
Fix lf em4x05 unlock
This commit is contained in:
parent
d3a960717f
commit
3502fbd82b
1 changed files with 2 additions and 5 deletions
|
@ -1692,11 +1692,8 @@ int CmdEM4x05Unlock(const char *Cmd) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// write
|
// write
|
||||||
res = unlock_write_protect(use_pwd, pwd, write_value, verbose);
|
// don't check the return value. As a tear-off occurred, the write failed.
|
||||||
if (res != PM3_SUCCESS) {
|
unlock_write_protect(use_pwd, pwd, write_value, verbose);
|
||||||
PrintAndLogEx(WARNING, "failed unlock write");
|
|
||||||
return PM3_ESOFT;
|
|
||||||
}
|
|
||||||
|
|
||||||
// read after trigger
|
// read after trigger
|
||||||
res = em4x05_read_word_ext(14, pwd, use_pwd, &word14);
|
res = em4x05_read_word_ext(14, pwd, use_pwd, &word14);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue