From 7fcbeac417ecad838cea80b6c11556e991f7ecf9 Mon Sep 17 00:00:00 2001
From: Lucifer Voeltner <lucifervoeltner03@gmail.com>
Date: Mon, 13 Jan 2025 11:06:24 +0700
Subject: [PATCH] Test fix for MFC EV1 signature dumping in 'hf mf autopwn'

---
 client/src/cmdhfmf.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/client/src/cmdhfmf.c b/client/src/cmdhfmf.c
index 981b2646fa..341d0d7d98 100644
--- a/client/src/cmdhfmf.c
+++ b/client/src/cmdhfmf.c
@@ -2678,6 +2678,9 @@ static int CmdHF14AMfAutoPWN(const char *Cmd) {
     if (is_ev1) {
         // hidden sectors on MFC EV1
         sector_cnt += 2;
+        
+        // bandaid fix
+        block_cnt += 8;
     }
 
     // create/initialize key storage structure