]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
Using defined command code
authorBlaine Forbort <b.forbort@gmail.com>
Mon, 22 Dec 2014 08:21:20 +0000 (00:21 -0800)
committerBlaine Forbort <b.forbort@gmail.com>
Mon, 22 Dec 2014 08:21:20 +0000 (00:21 -0800)
armsrc/mifaredesfire.c

index b7c1bc5b17cda086e0a05090897c239d8337d42b..acb16c05bc9d6c7cb13fcfbd1c809829a68457ef 100644 (file)
@@ -309,7 +309,7 @@ void MifareDES_Auth1(uint8_t mode, uint8_t algo, uint8_t keyno,  uint8_t *datain
                 //Change the selected key to a new value.
                 /*
                  
-                cmd[0] = 0xc4;
+                cmd[0] = CHANGE_KEY;
                 cmd[1] = keyno;
                 
                 uint8_t newKey[16] = {0x00,0x11,0x22,0x33,0x44,0x55,0x66,0x77,0x00,0x11,0x22,0x33,0x44,0x55,0x66,0x77};
Impressum, Datenschutz