]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
FIX: 'iclass write'
authoriceman1001 <iceman@iuse.se>
Wed, 7 Dec 2016 16:43:13 +0000 (17:43 +0100)
committericeman1001 <iceman@iuse.se>
Wed, 7 Dec 2016 16:43:13 +0000 (17:43 +0100)
armsrc/iclass.c

index c6031562001a9c49cd79472df33b8c794448f845..8019479e55a6b5d802289c7caeea66f190ca70e6 100644 (file)
@@ -1986,7 +1986,7 @@ void iClass_Dump(uint8_t blockno, uint8_t numblks) {
 }
 
 bool iClass_WriteBlock_ext(uint8_t blockNo, uint8_t *data) {
-       uint8_t write[] = { ICLASS_CMD_UPDATE, blockNo, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
+       uint8_t write[] = { ICLASS_CMD_UPDATE, blockNo, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
        //uint8_t readblockdata[10];
        //write[1] = blockNo;
        memcpy(write+2, data, 12); // data + mac
Impressum, Datenschutz