mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
Merge pull request #2949 from Flole998/patch-1
Some checks failed
Windows Build and Test / wsl (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
Ubuntu Build and Test / ubuntu-make (push) Has been cancelled
Ubuntu Build and Test / ubuntu-make-btaddon (push) Has been cancelled
Ubuntu Build and Test / ubuntu-cmake (push) Has been cancelled
Windows Build and Test / proxspace (push) Has been cancelled
MacOS Build and Test / macos-make (push) Has been cancelled
MacOS Build and Test / macos-make-btaddon (push) Has been cancelled
MacOS Build and Test / macos-cmake (push) Has been cancelled
Some checks failed
Windows Build and Test / wsl (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
Ubuntu Build and Test / ubuntu-make (push) Has been cancelled
Ubuntu Build and Test / ubuntu-make-btaddon (push) Has been cancelled
Ubuntu Build and Test / ubuntu-cmake (push) Has been cancelled
Windows Build and Test / proxspace (push) Has been cancelled
MacOS Build and Test / macos-make (push) Has been cancelled
MacOS Build and Test / macos-make-btaddon (push) Has been cancelled
MacOS Build and Test / macos-cmake (push) Has been cancelled
Allow writing key B even when no key A was found
This commit is contained in:
commit
a1e9b4716c
1 changed files with 1 additions and 1 deletions
|
@ -977,7 +977,7 @@ int createMfcKeyDump(const char *preferredName, uint8_t sectorsCnt, const sector
|
|||
}
|
||||
|
||||
for (int i = 0; i < sectorsCnt; i++) {
|
||||
if (e_sector[i].foundKey[0])
|
||||
if (e_sector[i].foundKey[1])
|
||||
num_to_bytes(e_sector[i].Key[1], sizeof(tmp), tmp);
|
||||
else
|
||||
memcpy(tmp, empty, sizeof(tmp));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue