From 9b37ccd725ef4bdfb608ed7431cb809a6a12c418 Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Fri, 5 Apr 2013 10:15:54 +0200 Subject: [PATCH] Restore missing default keys Bug introduced in previous commit... --- src/mfoc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mfoc.c b/src/mfoc.c index e71c3c1..9c3e615 100644 --- a/src/mfoc.c +++ b/src/mfoc.c @@ -82,6 +82,8 @@ int main(int argc, char *const argv[]) // Array with default Mifare Classic keys uint8_t defaultKeys[][6] = { {0xff, 0xff, 0xff, 0xff, 0xff, 0xff}, // Default key (first key used by program if no user defined key) + {0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5}, // NFCForum MAD key + {0xd3, 0xf7, 0xd3, 0xf7, 0xd3, 0xf7}, // NFCForum content key {0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, // Blank key {0xb0, 0xb1, 0xb2, 0xb3, 0xb4, 0xb5}, {0x4d, 0x3a, 0x99, 0xc3, 0x51, 0xdd},