Skip to content

Commit

Permalink
Port miLazyCracker patch: fix 4k and Mini
Browse files Browse the repository at this point in the history
  • Loading branch information
doegox committed Feb 17, 2017
1 parent 48156f9 commit f172064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mfoc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f172064

Please sign in to comment.