From 9242d2f956d120152595dc8e605bef62fcb2850d Mon Sep 17 00:00:00 2001 From: Piotr Rzeszut Date: Wed, 25 Dec 2024 23:51:54 +0100 Subject: [PATCH] Increase timeout to about 1400s in hf mf fchk to be able to run much more than 2100 keys check --- client/src/mifare/mifarehost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/mifare/mifarehost.c b/client/src/mifare/mifarehost.c index 7048173b4..e9a8232e8 100644 --- a/client/src/mifare/mifarehost.c +++ b/client/src/mifare/mifarehost.c @@ -273,7 +273,7 @@ int mf_check_keys_fast_ex(uint8_t sectorsCnt, uint8_t firstChunk, uint8_t lastCh // max timeout for one chunk of 85keys, 60*3sec = 180seconds // s70 with 40*2 keys to check, 80*85 = 6800 auth. // takes about 97s, still some margin before abort - if (timeout > 180) { + if (timeout > 60*6) { PrintAndLogEx(WARNING, "\nNo response from Proxmark3. Aborting..."); return PM3_ETIMEOUT; }