From: midnitesnake Date: Tue, 18 Mar 2014 07:42:54 +0000 (+0000) Subject: Added Unique Code to EM41x X-Git-Tag: v1.0.0~10^2 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/cb967ea9768ea1132cac8e4b24c8f55c56f55ef1 Added Unique Code to EM41x --- diff --git a/client/cmdlfem4x.c b/client/cmdlfem4x.c index 287083e8..a7312d21 100644 --- a/client/cmdlfem4x.c +++ b/client/cmdlfem4x.c @@ -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;