mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-07 13:41:18 -07:00
finish removing 'not vulnerable to nested' error message
This commit is contained in:
parent
74da62269b
commit
4701e6111c
1 changed files with 1 additions and 3 deletions
|
@ -341,7 +341,7 @@ int mfnested(uint8_t blockNo, uint8_t keyType, uint8_t *key, uint8_t trgBlockNo,
|
||||||
uint8_t *keyBlock = NULL;
|
uint8_t *keyBlock = NULL;
|
||||||
uint64_t key64;
|
uint64_t key64;
|
||||||
|
|
||||||
int isOK = -6;
|
int isOK = -4;
|
||||||
|
|
||||||
// flush queue
|
// flush queue
|
||||||
(void)WaitForResponseTimeout(CMD_ACK,NULL,100);
|
(void)WaitForResponseTimeout(CMD_ACK,NULL,100);
|
||||||
|
@ -359,8 +359,6 @@ int mfnested(uint8_t blockNo, uint8_t keyType, uint8_t *key, uint8_t trgBlockNo,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (resp.arg[0]) {
|
if (resp.arg[0]) {
|
||||||
memcpy(&statelists[0].nt, (void *)(resp.d.asBytes + 4 + 1 * 8 + 0), 4);
|
|
||||||
num_to_bytes(statelists[0].nt, 4, resultKey);
|
|
||||||
return resp.arg[0]; // error during nested
|
return resp.arg[0]; // error during nested
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue