Port miLazyCracker patch: fix 4k and Mini
cf 39658a2ac4/mfoc_fix_4k_and_mini.diff
This commit is contained in:
parent
48156f9bf0
commit
f172064f98
1 changed files with 1 additions and 1 deletions
|
@ -680,7 +680,7 @@ int main(int argc, char *const argv[])
|
|||
}
|
||||
|
||||
// Finally save all keys + data to file
|
||||
uint16_t dump_size = (t.num_blocks + 1) * t.num_sectors;
|
||||
uint16_t dump_size = (t.num_blocks + 1) * 16;
|
||||
if (fwrite(&mtDump, 1, dump_size, pfDump) != dump_size) {
|
||||
fprintf(stdout, "Error, cannot write dump\n");
|
||||
fclose(pfDump);
|
||||
|
|
Loading…
Reference in a new issue