mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
backward compatibility, on load converter for old mfu dump format
This commit is contained in:
parent
8793a9e596
commit
a8c1fa7a3b
6 changed files with 96 additions and 10 deletions
|
@ -2590,6 +2590,16 @@ int CmdHF14AMfELoad(const char *Cmd) {
|
|||
return 2;
|
||||
}
|
||||
|
||||
// convert old mfu format to new
|
||||
if (blockWidth == 4) {
|
||||
res = convertOldMfuDump(&data, &datalen);
|
||||
if (res) {
|
||||
PrintAndLogEx(FAILED, "Failed convert on load to new Ultralight/NTAG format");
|
||||
free(data);
|
||||
return res;
|
||||
}
|
||||
}
|
||||
|
||||
PrintAndLogEx(INFO, "Copying to emulator memory");
|
||||
|
||||
blockNum = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue