From abb011c179beb89f571288cf3770229bde17fbac Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 9 Oct 2019 10:41:59 +0200 Subject: [PATCH] fix: wrong key copied --- client/cmdhfmf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/cmdhfmf.c b/client/cmdhfmf.c index 637cb6635..8671dc6c8 100644 --- a/client/cmdhfmf.c +++ b/client/cmdhfmf.c @@ -1967,7 +1967,7 @@ static int CmdHF14AMfAutoPWN(const char *Cmd) { // Store valid credentials for the nested / hardnested attack if none exist if (know_target_key == false) { - num_to_bytes(e_sector[i].Key[j], 6, key); + num_to_bytes(e_sector[i].Key[j], 6, tmp_key); know_target_key = true; blockNo = i; keyType = j;