]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
Added Unique Code to EM41x 1/head
authormidnitesnake <midnitesnake@gmail.com>
Tue, 18 Mar 2014 07:42:54 +0000 (07:42 +0000)
committermidnitesnake <midnitesnake@gmail.com>
Tue, 18 Mar 2014 07:42:54 +0000 (07:42 +0000)
client/cmdlfem4x.c

index 287083e8743d233bb382956ead9453553177a027..a7312d21b81a21a148c7cfe1e0e95f5b4db021d3 100644 (file)
@@ -102,7 +102,7 @@ retest:
       {
         /* Read another byte! */
         sprintf(id+rows, "%x", (8 * BitStream[i]) + (4 * BitStream[i+1]) + (2 * BitStream[i+2]) + (1 * BitStream[i+3]));
-        sprintf(id+rows, "%x", (8 * BitStream[i+3]) + (4 * BitStream[i+2]) + (2 * BitStream[i+1]) + (1 * BitStream[i]));
+        sprintf(id2+rows, "%x", (8 * BitStream[i+3]) + (4 * BitStream[i+2]) + (2 * BitStream[i+1]) + (1 * BitStream[i]));
         rows++;
 
         /* Keep parity info */
@@ -137,7 +137,7 @@ retest:
       {
         /* Sweet! */
         PrintAndLog("EM410x Tag ID: %s", id);
-        PrintAndLog("Unique Tag ID: %s", id);
+        PrintAndLog("Unique Tag ID: %s", id2);
 
         /* Stop any loops */
         return 1;
Impressum, Datenschutz