mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
fix: 'hf 15 dump f' - now also selects card
This commit is contained in:
parent
e5a71fdd26
commit
1f8040596f
1 changed files with 5 additions and 5 deletions
|
@ -684,15 +684,15 @@ int CmdHF15Dump(const char *Cmd) {
|
||||||
//Validations
|
//Validations
|
||||||
if (errors) return usage_15_dump();
|
if (errors) return usage_15_dump();
|
||||||
|
|
||||||
if (fileNameLen < 1) {
|
|
||||||
|
|
||||||
PrintAndLogEx(INFO, "Using UID as filename");
|
|
||||||
|
|
||||||
if (!getUID(uid)) {
|
if (!getUID(uid)) {
|
||||||
PrintAndLogEx(WARNING, "No tag found.");
|
PrintAndLogEx(WARNING, "No tag found.");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (fileNameLen < 1) {
|
||||||
|
|
||||||
|
PrintAndLogEx(INFO, "Using UID as filename");
|
||||||
|
|
||||||
fptr += sprintf(fptr, "hf-15-");
|
fptr += sprintf(fptr, "hf-15-");
|
||||||
FillFileNameByUID(fptr, uid, "-dump", sizeof(uid));
|
FillFileNameByUID(fptr, uid, "-dump", sizeof(uid));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue