Made script-based default key check a bit more intelligent, so it works not only on 4k cards. Also added option to save data to a dump-file

This commit is contained in:
martin.holst@gmail.com committed 2013-10-01 19:58:42 +00:00
1 parent 0318894e52
commit 05ed5c496a
2 files changed
+91 -8

No files matched your search

+2 -1
View File
@@ -380,6 +380,8 @@ int CmdHF14AMfDump(const char *Cmd)
}
if (isOK) {
fwrite ( data, 1, 16, fout );
PrintAndLog("Dumped card data into 'dumpkeys.bin'");
}
else {
PrintAndLog("Could not get access rights for block %d", i);
@@ -393,7 +395,6 @@ int CmdHF14AMfDump(const char *Cmd)
fclose(fin);
fclose(fout);
return 0;
}