detect_classic_auth: silent error
This commit is contained in:
1 parent
66fc610a66
commit
c8219a6030
1 file changed
+2
-6
@@ -1449,12 +1449,8 @@ int detect_classic_auth(uint8_t key_type) {
|
|||||||
return PM3_ETIMEOUT;
|
return PM3_ETIMEOUT;
|
||||||
}
|
}
|
||||||
|
|
||||||
// check respA
|
// check respA for a nonce
|
||||||
if (respA.oldarg[0] != 4) {
|
return respA.oldarg[0] == 4;
|
||||||
PrintAndLogEx(ERR, "PRNG data error: Wrong length: %"PRIu64, respA.oldarg[0]);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Detect Mifare Classic NACK bug
|
/* Detect Mifare Classic NACK bug
|
||||||
|
|||||||
Reference in new issue
Block a user