Implement real callbacks for load/save prefs

This commit is contained in:
Philippe Teuwen
2020-06-01 23:44:41 +02:00
parent 447105511a
commit 72987d562f
13 changed files with 35 additions and 35 deletions

View File

@@ -1277,7 +1277,7 @@ static int CmdHFMFPChk(const char *Cmd) {
// length: UID(10b)+SAK(1b)+ATQA(2b)+ATSlen(1b)+ATS(atslen)+foundKeys[2][64][AES_KEY_LEN + 1]
memcpy(&data[14 + atslen], foundKeys, 2 * 64 * (AES_KEY_LEN + 1));
saveFileJSON((char *)jsonname, jsfMfPlusKeys, data, 64);
saveFileJSON((char *)jsonname, jsfMfPlusKeys, data, 64, NULL);
}
return PM3_SUCCESS;