fix wrong key file name

This commit is contained in:
iceman1001 committed 2023-06-24 22:24:27 +02:00
1 parent a43d8ea9e0
commit 85f8234201
1 file changed
+1 -1
+1 -1
View File
@@ -381,7 +381,7 @@ static int mf_save_keys_from_arr(uint16_t n, uint8_t *d) {
}
char fn[FILE_PATH_SIZE] = {0};
snprintf(fn, sizeof(fn), "hf-mf-%s-keys", sprint_hex_inrow(d, 4));
snprintf(fn, sizeof(fn), "hf-mf-%s-key", sprint_hex_inrow(d, 4));
saveFile(fn, ".bin", keys, keysize);
free(keys);
return PM3_SUCCESS;