]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/mifaresniff.c
Merge pull request #9 from doegox/addhelpm
[proxmark3-svn] / armsrc / mifaresniff.c
index bd9840e8cb4a8467e9b3c6b3719f0aede40a9d18..3e5570f9ce6e575ecd1b19f2f696b30d42b94b94 100644 (file)
@@ -93,7 +93,8 @@ bool RAMFUNC MfSniffLogic(const uint8_t *data, uint16_t len, uint32_t parity, ui
                }\r
                case SNF_ANTICOL2:{\r
                        if ((!reader) && (len == 5) && ((data[0] ^ data[1] ^ data[2] ^ data[3]) == data[4])) { // CL2 UID \r
-                               memcpy(sniffUID, data, 4);\r
+                               memcpy(sniffUID, sniffUID+4, 3);\r
+                               memcpy(sniffUID+3, data, 4);\r
                                sniffUIDType = SNF_UID_7;\r
                                sniffState = SNF_UID2;\r
                        }\r
Impressum, Datenschutz