mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-09 09:39:16 +08:00
Added Unique Code to EM41x
This commit is contained in:
parent
080ff30a9e
commit
cb967ea976
1 changed files with 2 additions and 2 deletions
|
@ -102,7 +102,7 @@ retest:
|
||||||
{
|
{
|
||||||
/* Read another byte! */
|
/* 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]) + (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++;
|
rows++;
|
||||||
|
|
||||||
/* Keep parity info */
|
/* Keep parity info */
|
||||||
|
@ -137,7 +137,7 @@ retest:
|
||||||
{
|
{
|
||||||
/* Sweet! */
|
/* Sweet! */
|
||||||
PrintAndLog("EM410x Tag ID: %s", id);
|
PrintAndLog("EM410x Tag ID: %s", id);
|
||||||
PrintAndLog("Unique Tag ID: %s", id);
|
PrintAndLog("Unique Tag ID: %s", id2);
|
||||||
|
|
||||||
/* Stop any loops */
|
/* Stop any loops */
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in a new issue