diff --git a/armsrc/iso14443a.c b/armsrc/iso14443a.c index 28b2dd822..4cbf65da9 100644 --- a/armsrc/iso14443a.c +++ b/armsrc/iso14443a.c @@ -2595,8 +2595,9 @@ void DetectNACKbug() { for (i = 0; true; ++i) { received_nack = false; + + // Cards always leaks a NACK, no matter the parity if ((i==10) && (num_nacks == i)) { - // Cards always leaks a NACK, no matter the parity isOK = 2; break; } diff --git a/client/mifarehost.c b/client/mifarehost.c index 1e1cce3b1..d583bd510 100644 --- a/client/mifarehost.c +++ b/client/mifarehost.c @@ -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 ) {