mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-14 03:03:14 +08:00
CHG: use FillFileNameByUID() for filename generation for 'hf 15 dump'
This commit is contained in:
parent
d050e473b7
commit
39d2a92ead
1 changed files with 3 additions and 4 deletions
|
@ -680,10 +680,9 @@ int CmdHF15Dump(const char*Cmd) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
fptr += sprintf(fptr, "dump15_");
|
fptr += sprintf(fptr, "hf-15-");
|
||||||
|
FillFileNameByUID(fptr,uid,"-dump",sizeof(uid));
|
||||||
|
|
||||||
for (int j = sizeof(uid)-1; j >=0 ; j--)
|
|
||||||
fptr += sprintf(fptr, "%02X", uid[j]);
|
|
||||||
}
|
}
|
||||||
// detect blocksize from card :)
|
// detect blocksize from card :)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue