Fix MFC static nonce detection on some cards and do it before prng det
This commit is contained in:
@@ -2383,6 +2383,9 @@ void MifareHasStaticNonce(void) {
|
||||
|
||||
nt = bytes_to_num(rec, 4);
|
||||
|
||||
// some cards with static nonce need to be reset before next query
|
||||
FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);
|
||||
LEDsoff();
|
||||
CHK_TIMEOUT();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user