]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
FIX: cuid order...
authoriceman1001 <iceman@iuse.se>
Tue, 16 Feb 2016 22:51:52 +0000 (23:51 +0100)
committericeman1001 <iceman@iuse.se>
Tue, 16 Feb 2016 22:51:52 +0000 (23:51 +0100)
armsrc/mifarecmd.c

index ad8655db4eddffd6c6174b02b7bb07ba7e4087a0..22f499aae43fd1d55d7b72a6ac170504401d956d 100644 (file)
@@ -944,7 +944,7 @@ void MifareNested(uint32_t arg0, uint32_t arg1, uint32_t calibrate, uint8_t *dat
        crypto1_destroy(pcs);\r
        \r
        byte_t buf[4 + 4 * 4] = {0};\r
-       num_to_bytes(cuid, 4, buf);\r
+       memcpy(buf, &cuid, 4);\r
        memcpy(buf+4, &target_nt[0], 4);\r
        memcpy(buf+8, &target_ks[0], 4);\r
        memcpy(buf+12, &target_nt[1], 4);\r
Impressum, Datenschutz