just test one key

This commit is contained in:
iceman1001 2024-02-15 17:20:55 +01:00
commit e9891085c9

View file

@ -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;