From e9891085c94109fcc341163c4161a82d3aab8c5c Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Thu, 15 Feb 2024 17:20:55 +0100 Subject: [PATCH] just test one key --- client/src/cmdhfmfu.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/src/cmdhfmfu.c b/client/src/cmdhfmfu.c index 6ffa165ca..ee8662ba5 100644 --- a/client/src/cmdhfmfu.c +++ b/client/src/cmdhfmfu.c @@ -463,10 +463,10 @@ static int try_default_aes_keys(void) { PrintAndLogEx(INFO, ""); PrintAndLogEx(SUCCESS, "--- " _CYAN_("Known UL-AES keys")); - for (uint8_t i = 0; i < ARRAYLEN(default_aes_keys); ++i) { - uint8_t *key = default_aes_keys[i]; +// for (uint8_t i = 0; i < ARRAYLEN(default_aes_keys); ++i) { + uint8_t *key = default_aes_keys[0]; - for (uint8_t keyno = 0; keyno < 2; keyno++) { + for (uint8_t keyno = 0; keyno < 1; keyno++) { if (ulaes_requestAuthentication(key, keyno, true) == PM3_SUCCESS) { @@ -493,7 +493,7 @@ static int try_default_aes_keys(void) { res = PM3_SUCCESS; } } - } +// } // setDeviceDebugLevel(dbg_curr, false); return res;