mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-08 06:00:53 -07:00
"hf mf ekeyprn d" doesn't works properly
FIX: command "hf mf ekeyprn d" doesn't use the correct offset to locate the A key in data[] array and record the 2 last bytes followed by 4 0x00 instead of the 6 good bytes (All the A keys are corrupted in file dumpkeys.bin). B keys are not affected.
This commit is contained in:
parent
5a03ea993f
commit
d89dd848b7
1 changed files with 1 additions and 1 deletions
|
@ -2060,7 +2060,7 @@ int CmdHF14AMfEKeyPrn(const char *Cmd)
|
|||
PrintAndLog("error get block %d", FirstBlockOfSector(i) + NumBlocksPerSector(i) - 1);
|
||||
break;
|
||||
}
|
||||
fwrite(data+6, 1, 6, fkeys);
|
||||
fwrite(data, 1, 6, fkeys);
|
||||
}
|
||||
for(i = 0; i < numSectors; i++) {
|
||||
if (mfEmlGetMem(data, FirstBlockOfSector(i) + NumBlocksPerSector(i) - 1, 1)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue