mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
em 4x05_dump: indication of active PW closer to reality
This commit is contained in:
parent
5d7cdcf1d9
commit
235d920b52
1 changed files with 2 additions and 2 deletions
|
@ -1013,7 +1013,7 @@ static int CmdEM4x05Dump(const char *Cmd) {
|
|||
if (status14 == PM3_SUCCESS) {
|
||||
if (!usePwd)
|
||||
needReadPwd = false;
|
||||
if (word != 0x00) {
|
||||
if ((word & 0x00008000) != 0x00) {
|
||||
lock_bits = word;
|
||||
gotLockBits = true;
|
||||
}
|
||||
|
@ -1023,7 +1023,7 @@ static int CmdEM4x05Dump(const char *Cmd) {
|
|||
}
|
||||
status15 = EM4x05ReadWord_ext(15, pwd, usePwd, &word);
|
||||
if (status15 == PM3_SUCCESS) {
|
||||
if (word != 0x00) { // assume block 15 is the current lock block
|
||||
if ((word & 0x00008000) != 0x00) { // assume block 15 is the current lock block
|
||||
lock_bits = word;
|
||||
gotLockBits = true;
|
||||
lockInPW2 = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue