]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
Merge pull request #5 from PenturaLabs/master
authorW8M2Hg9lLmWqXSGC <kb@barkweb.com.au>
Fri, 21 Mar 2014 09:35:14 +0000 (20:35 +1100)
committerW8M2Hg9lLmWqXSGC <kb@barkweb.com.au>
Fri, 21 Mar 2014 09:35:14 +0000 (20:35 +1100)
Kantech ioProx Support - Fix

client/cmdlfem4x.c

index bd6137ac49eb0b4d6d0e2d34d7c016418ffb9e29..a7312d21b81a21a148c7cfe1e0e95f5b4db021d3 100644 (file)
@@ -35,6 +35,7 @@ int CmdEM410xRead(const char *Cmd)
   int i, j, clock, header, rows, bit, hithigh, hitlow, first, bit2idx, high, low;
   int parity[4];
   char id[11];
+  char id2[11];
   int retested = 0;
   uint8_t BitStream[MAX_GRAPH_TRACE_LEN];
   high = low = 0;
@@ -101,6 +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(id2+rows, "%x", (8 * BitStream[i+3]) + (4 * BitStream[i+2]) + (2 * BitStream[i+1]) + (1 * BitStream[i]));
         rows++;
 
         /* Keep parity info */
@@ -135,6 +137,7 @@ retest:
       {
         /* Sweet! */
         PrintAndLog("EM410x Tag ID: %s", id);
+        PrintAndLog("Unique Tag ID: %s", id2);
 
         /* Stop any loops */
         return 1;
Impressum, Datenschutz