From 2bce6c93ccdd25cd94c3a4e1da9483294dedfe63 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Fri, 16 Feb 2024 18:18:32 +0100 Subject: [PATCH] invert force logic --- client/src/cmdhfmfu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/src/cmdhfmfu.c b/client/src/cmdhfmfu.c index c9a91d7e8..35bd675cd 100644 --- a/client/src/cmdhfmfu.c +++ b/client/src/cmdhfmfu.c @@ -2030,7 +2030,7 @@ static int CmdHF14AMfUInfo(const char *Cmd) { CLIGetHexWithReturn(ctx, 1, authenticationkey, &ak_len); bool swap_endian = arg_get_lit(ctx, 2); // bool verbose = arg_get_lit(ctx, 3); - bool override = arg_get_lit(ctx, 3); + bool override = (arg_get_lit(ctx, 3) == false); CLIParserFree(ctx); if (ak_len) { @@ -2156,7 +2156,6 @@ static int CmdHF14AMfUInfo(const char *Cmd) { } } - // do counters and signature first (don't neet auth) // ul counters are different than ntag counters