From 02a405967e79bf24c930382791eeb07dd48b6d89 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 19 Jan 2016 16:32:29 +0100 Subject: [PATCH] CHG: The nonce from "hf mf nested" is fixed to this one, why is that one selected? Why not just all zeros or ones? --- armsrc/iso14443a.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/armsrc/iso14443a.c b/armsrc/iso14443a.c index bfbc70c7..d1ef339a 100644 --- a/armsrc/iso14443a.c +++ b/armsrc/iso14443a.c @@ -2561,7 +2561,8 @@ void Mifare1ksim(uint8_t flags, uint8_t exitAfterNReads, uint8_t arg2, uint8_t * //uint8_t rSAK[] = {0x09, 0x3f, 0xcc }; // Mifare Mini uint8_t rSAK1[] = {0x04, 0xda, 0x17}; - uint8_t rAUTH_NT[] = {0x01, 0x01, 0x01, 0x01}; + //uint8_t rAUTH_NT[] = {0x01, 0x01, 0x01, 0x01}; + uint8_t rAUTH_NT[] = {0x55, 0x41, 0x49, 0x92}; uint8_t rAUTH_AT[] = {0x00, 0x00, 0x00, 0x00}; //Here, we collect UID1,UID2,NT,AR,NR,0,0,NT2,AR2,NR2 -- 2.39.5