mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-07-16 10:03:04 -07:00
fix #1056 - swapendianess for filenames based on uid
This commit is contained in:
parent
bd7f1c6bfb
commit
a28e5a88d1
1 changed files with 1 additions and 1 deletions
|
@ -1326,7 +1326,7 @@ static int CmdHF15Dump(const char *Cmd) {
|
|||
if (fileNameLen < 1) {
|
||||
PrintAndLogEx(INFO, "Using UID as filename");
|
||||
fptr += sprintf(fptr, "hf-15-");
|
||||
FillFileNameByUID(fptr, uid, "-dump", sizeof(uid));
|
||||
FillFileNameByUID(fptr, SwapEndian64(uid, sizeof(uid), 8), "-dump", sizeof(uid));
|
||||
}
|
||||
// detect blocksize from card :)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue