]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
Iceman's mf sim 7bt UID fix from #97
authormarshmellow42 <marshmellowrf@gmail.com>
Tue, 28 Apr 2015 19:43:58 +0000 (15:43 -0400)
committermarshmellow42 <marshmellowrf@gmail.com>
Tue, 28 Apr 2015 19:43:58 +0000 (15:43 -0400)
armsrc/iso14443a.c

index ac839cfdc081049ac8ceccaa784c41306158c04e..64bbcbf50eaaa456123163bc16bd115a13e77ef2 100644 (file)
@@ -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;
        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];
        }
 
                rUIDBCC2[4] = rUIDBCC2[0] ^ rUIDBCC2[1] ^ rUIDBCC2[2] ^ rUIDBCC2[3];
        }
 
Impressum, Datenschutz