]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/mifaresim.c
Add string.h
[proxmark3-svn] / armsrc / mifaresim.c
index 137a586d28853a9c1d82e549859a2d926c2629b2..b63160c945c3211265fcd7120e93753236894d5e 100644 (file)
@@ -20,7 +20,6 @@
 #include "fpgaloader.h"
 #include "proxmark3.h"
 #include "usb_cdc.h"
 #include "fpgaloader.h"
 #include "proxmark3.h"
 #include "usb_cdc.h"
-#include "cmd.h"
 #include "protocols.h"
 #include "apps.h"
 
 #include "protocols.h"
 #include "apps.h"
 
@@ -95,7 +94,7 @@ static bool IsTrailerAccessAllowed(uint8_t blockNo, uint8_t keytype, uint8_t act
                        break;
                }
                case AC_KEYB_WRITE: {
                        break;
                }
                case AC_KEYB_WRITE: {
-                       return ((keytype == AUTHKEYA && (AC == 0x00 || AC == 0x04))
+                       return ((keytype == AUTHKEYA && (AC == 0x00 || AC == 0x01))
                                 || (keytype == AUTHKEYB && (AC == 0x04 || AC == 0x03)));
                        break;
                }
                                 || (keytype == AUTHKEYB && (AC == 0x04 || AC == 0x03)));
                        break;
                }
Impressum, Datenschutz