mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 18:57:12 +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;
|
||||
}
|
||||
|
||||
fptr += sprintf(fptr, "dump15_");
|
||||
|
||||
for (int j = sizeof(uid)-1; j >=0 ; j--)
|
||||
fptr += sprintf(fptr, "%02X", uid[j]);
|
||||
fptr += sprintf(fptr, "hf-15-");
|
||||
FillFileNameByUID(fptr,uid,"-dump",sizeof(uid));
|
||||
|
||||
}
|
||||
// detect blocksize from card :)
|
||||
|
||||
|
|
Loading…
Reference in a new issue