From 7a37ec2655ada64afa4dbc6178280d23d74b8ca2 Mon Sep 17 00:00:00 2001 From: Antiklesys Date: Sat, 20 Jul 2024 01:45:53 +0800 Subject: [PATCH] Update iclass.c --- armsrc/iclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/armsrc/iclass.c b/armsrc/iclass.c index fee90f0c6..4b3ce223d 100644 --- a/armsrc/iclass.c +++ b/armsrc/iclass.c @@ -2293,7 +2293,7 @@ Xorring the index of iterations against those decimal numbers allows us to retri for (int i = 0; i < 8 ; ++i) { //need to craft the authentication payload accordingly memcpy(msg->req.key, iclass_mac_table[i], 8); - res = authenticate_iclass_tag(&msg->req, &hdr, &start_time, &eof_time, mac1); //the mac here needs to be changed, mac 2 is a compiling placeholder + res = authenticate_iclass_tag(&msg->req, &hdr, &start_time, &eof_time, mac1); //mac1 here shouldn't matter if (res == true) { bits_found = iclass_mac_table_bit_values[i] ^ index; Dbprintf("Found Card Bits Index: " _GREEN_("[%3d]"), index);