mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-16 02:03:00 -07:00
BUG: 'hf mf mifare'
BUG: 'hf mf mifare' , wrongly identify success when faulty key is found https://github.com/Proxmark/proxmark3/issues/320
This commit is contained in:
parent
e5a15888b6
commit
84ca27b33a
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ int mfDarkside(uint64_t *key)
|
|||
|
||||
int mfCheckKeys (uint8_t blockNo, uint8_t keyType, bool clear_trace, uint8_t keycnt, uint8_t * keyBlock, uint64_t * key){
|
||||
|
||||
*key = 0;
|
||||
*key = -1;
|
||||
|
||||
UsbCommand c = {CMD_MIFARE_CHKKEYS, {((blockNo & 0xff) | ((keyType&0xff)<<8)), clear_trace, keycnt}};
|
||||
memcpy(c.d.asBytes, keyBlock, 6 * keycnt);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue