mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
just test one key
This commit is contained in:
parent
701dba34e4
commit
e9891085c9
1 changed files with 4 additions and 4 deletions
|
@ -463,10 +463,10 @@ static int try_default_aes_keys(void) {
|
||||||
PrintAndLogEx(INFO, "");
|
PrintAndLogEx(INFO, "");
|
||||||
PrintAndLogEx(SUCCESS, "--- " _CYAN_("Known UL-AES keys"));
|
PrintAndLogEx(SUCCESS, "--- " _CYAN_("Known UL-AES keys"));
|
||||||
|
|
||||||
for (uint8_t i = 0; i < ARRAYLEN(default_aes_keys); ++i) {
|
// for (uint8_t i = 0; i < ARRAYLEN(default_aes_keys); ++i) {
|
||||||
uint8_t *key = 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) {
|
if (ulaes_requestAuthentication(key, keyno, true) == PM3_SUCCESS) {
|
||||||
|
|
||||||
|
@ -493,7 +493,7 @@ static int try_default_aes_keys(void) {
|
||||||
res = PM3_SUCCESS;
|
res = PM3_SUCCESS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
// }
|
||||||
|
|
||||||
// setDeviceDebugLevel(dbg_curr, false);
|
// setDeviceDebugLevel(dbg_curr, false);
|
||||||
return res;
|
return res;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue