mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 13:00:42 -07:00
chg: adjustments
This commit is contained in:
parent
6a028bdd18
commit
0c0e20eb06
2 changed files with 5 additions and 2 deletions
|
@ -2595,8 +2595,9 @@ void DetectNACKbug() {
|
|||
for (i = 0; true; ++i) {
|
||||
|
||||
received_nack = false;
|
||||
if ((i==10) && (num_nacks == i)) {
|
||||
|
||||
// Cards always leaks a NACK, no matter the parity
|
||||
if ((i==10) && (num_nacks == i)) {
|
||||
isOK = 2;
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -883,8 +883,10 @@ int detect_classic_nackbug(bool verbose){
|
|||
int32_t ok = resp.arg[0];
|
||||
uint32_t nacks = resp.arg[1];
|
||||
uint32_t auths = resp.arg[2];
|
||||
PrintAndLog("");
|
||||
|
||||
if ( verbose ) {
|
||||
PrintAndLog("\nNum of sent auth requests : %u", auths);
|
||||
PrintAndLog("Num of sent auth requests : %u", auths);
|
||||
PrintAndLog("Num of received NACK : %u", nacks);
|
||||
}
|
||||
switch( ok ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue