mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-11 01:55:38 +08:00
no sprintf
This commit is contained in:
parent
502fbeeaab
commit
2f86958451
1 changed files with 1 additions and 1 deletions
|
@ -3779,7 +3779,7 @@ static int CmdHF14AMfEKeyPrn(const char *Cmd) {
|
||||||
|
|
||||||
char filename[FILE_PATH_SIZE] = {0};
|
char filename[FILE_PATH_SIZE] = {0};
|
||||||
char *fptr = filename;
|
char *fptr = filename;
|
||||||
fptr += sprintf(fptr, "hf-mf-");
|
fptr += snprintf(fptr, sizeof(filename), "hf-mf-");
|
||||||
FillFileNameByUID(fptr + strlen(fptr), uid, "-key", sizeof(uid));
|
FillFileNameByUID(fptr + strlen(fptr), uid, "-key", sizeof(uid));
|
||||||
|
|
||||||
createMfcKeyDump(filename, sectors_cnt, e_sector);
|
createMfcKeyDump(filename, sectors_cnt, e_sector);
|
||||||
|
|
Loading…
Reference in a new issue