mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
Merge pull request #2815 from DidierA/mfdes-bruteaid-fix
hf mfdes bruteaid: fix byte order
This commit is contained in:
commit
3f705650c0
1 changed files with 3 additions and 0 deletions
|
@ -2133,6 +2133,9 @@ static int CmdHF14ADesBruteApps(const char *Cmd) {
|
|||
startAid[1] = 0x00;
|
||||
startAid[2] = 0x0F;
|
||||
}
|
||||
|
||||
reverse_array(startAid, 3);
|
||||
reverse_array(endAid, 3);
|
||||
uint32_t idStart = DesfireAIDByteToUint(startAid);
|
||||
uint32_t idEnd = DesfireAIDByteToUint(endAid);
|
||||
if (idStart > idEnd) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue