From 377cf2a54d3b4c02840bc69a552f8d9070ee30e1 Mon Sep 17 00:00:00 2001 From: Francesco S <36336996+francesco-scar@users.noreply.github.com> Date: Sun, 18 Feb 2024 00:27:33 +0000 Subject: [PATCH] :bug: Fixed bug autopwn static nested cmdhfmf.c Signed-off-by: Francesco S. <36336996+francesco-scar@users.noreply.github.com> --- client/src/cmdhfmf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/cmdhfmf.c b/client/src/cmdhfmf.c index e2964ab1a..0e3a0a08a 100644 --- a/client/src/cmdhfmf.c +++ b/client/src/cmdhfmf.c @@ -3050,7 +3050,7 @@ tryStaticnested: (current_key_type_i == MF_KEY_B) ? 'B' : 'A'); } - isOK = mfStaticNested(sectorno, keytype, key, mfFirstBlockOfSector(current_sector_i), current_key_type_i, tmp_key); + isOK = mfStaticNested(mfFirstBlockOfSector(sectorno), keytype, key, mfFirstBlockOfSector(current_sector_i), current_key_type_i, tmp_key); DropField(); switch (isOK) { case PM3_ETIMEOUT: {