mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
fix
This commit is contained in:
parent
83d9c90203
commit
afd8cacb90
1 changed files with 3 additions and 4 deletions
|
@ -385,9 +385,7 @@ static int try_default_3des_keys(uint8_t **correct_key) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (setDeviceDebugLevel(dbg_curr, false) != PM3_SUCCESS) {
|
setDeviceDebugLevel(dbg_curr, false);
|
||||||
return res;
|
|
||||||
}
|
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1583,6 +1581,7 @@ static int mfu_get_version_uid(uint8_t *version, uint8_t *uid) {
|
||||||
|
|
||||||
static int mfu_fingerprint(uint64_t tagtype, bool hasAuthKey, uint8_t *authkey, int ak_len) {
|
static int mfu_fingerprint(uint64_t tagtype, bool hasAuthKey, uint8_t *authkey, int ak_len) {
|
||||||
|
|
||||||
|
uint8_t dbg_curr = DBG_NONE;
|
||||||
uint8_t *data = NULL;
|
uint8_t *data = NULL;
|
||||||
int res = PM3_ESOFT;
|
int res = PM3_ESOFT;
|
||||||
PrintAndLogEx(INFO, "");
|
PrintAndLogEx(INFO, "");
|
||||||
|
@ -1612,7 +1611,7 @@ static int mfu_fingerprint(uint64_t tagtype, bool hasAuthKey, uint8_t *authkey,
|
||||||
keytype = 2; // UL_EV1/NTAG auth
|
keytype = 2; // UL_EV1/NTAG auth
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t dbg_curr = DBG_NONE;
|
|
||||||
if (getDeviceDebugLevel(&dbg_curr) != PM3_SUCCESS) {
|
if (getDeviceDebugLevel(&dbg_curr) != PM3_SUCCESS) {
|
||||||
res = PM3_ESOFT;
|
res = PM3_ESOFT;
|
||||||
goto out;
|
goto out;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue