mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-23 06:35:38 -07:00
check the different keys
This commit is contained in:
parent
cae23e43e6
commit
76217e8579
1 changed files with 1 additions and 2 deletions
|
@ -473,7 +473,7 @@ static int try_default_aes_keys(bool override) {
|
||||||
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[0];
|
uint8_t *key = default_aes_keys[0];
|
||||||
|
|
||||||
for (uint8_t keyno = 0; keyno < 1; keyno++) {
|
for (uint8_t keyno = 0; keyno < 3; keyno++) {
|
||||||
|
|
||||||
if (ulaes_requestAuthentication(key, keyno, true) == PM3_SUCCESS) {
|
if (ulaes_requestAuthentication(key, keyno, true) == PM3_SUCCESS) {
|
||||||
|
|
||||||
|
@ -508,7 +508,6 @@ static int try_default_aes_keys(bool override) {
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static int ul_auth_select(iso14a_card_select_t *card, uint64_t tagtype, bool hasAuthKey, uint8_t *authkey, uint8_t *pack, uint8_t packSize) {
|
static int ul_auth_select(iso14a_card_select_t *card, uint64_t tagtype, bool hasAuthKey, uint8_t *authkey, uint8_t *pack, uint8_t packSize) {
|
||||||
if (hasAuthKey && (tagtype & MFU_TT_UL_C)) {
|
if (hasAuthKey && (tagtype & MFU_TT_UL_C)) {
|
||||||
//will select card automatically and close connection on error
|
//will select card automatically and close connection on error
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue