mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 18:57:12 +08:00
FIX: cuid order...
This commit is contained in:
parent
b882b54314
commit
82885445b3
1 changed files with 1 additions and 1 deletions
|
@ -944,7 +944,7 @@ void MifareNested(uint32_t arg0, uint32_t arg1, uint32_t calibrate, uint8_t *dat
|
||||||
crypto1_destroy(pcs);
|
crypto1_destroy(pcs);
|
||||||
|
|
||||||
byte_t buf[4 + 4 * 4] = {0};
|
byte_t buf[4 + 4 * 4] = {0};
|
||||||
num_to_bytes(cuid, 4, buf);
|
memcpy(buf, &cuid, 4);
|
||||||
memcpy(buf+4, &target_nt[0], 4);
|
memcpy(buf+4, &target_nt[0], 4);
|
||||||
memcpy(buf+8, &target_ks[0], 4);
|
memcpy(buf+8, &target_ks[0], 4);
|
||||||
memcpy(buf+12, &target_nt[1], 4);
|
memcpy(buf+12, &target_nt[1], 4);
|
||||||
|
|
Loading…
Reference in a new issue