From: marshmellow42 Date: Tue, 28 Apr 2015 19:43:58 +0000 (-0400) Subject: Iceman's mf sim 7bt UID fix from #97 X-Git-Tag: v2.1.0~15^2~1 X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/e9b8d0dd6edea3ecac7d663024d38ad549c62f42?ds=sidebyside Iceman's mf sim 7bt UID fix from #97 --- diff --git a/armsrc/iso14443a.c b/armsrc/iso14443a.c index ac839cfd..64bbcbf5 100644 --- a/armsrc/iso14443a.c +++ b/armsrc/iso14443a.c @@ -2270,6 +2270,7 @@ void Mifare1ksim(uint8_t flags, uint8_t exitAfterNReads, uint8_t arg2, uint8_t * if (_7BUID) { rATQA[0] = 0x44; rUIDBCC1[0] = 0x88; + rUIDBCC1[4] = rUIDBCC1[0] ^ rUIDBCC1[1] ^ rUIDBCC1[2] ^ rUIDBCC1[3]; rUIDBCC2[4] = rUIDBCC2[0] ^ rUIDBCC2[1] ^ rUIDBCC2[2] ^ rUIDBCC2[3]; }