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 2013-10-01 19:58:42 +00:00
commit 05ed5c496a
2 changed files with 91 additions and 8 deletions

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;
}