From a2d22fd3c4a2896ad0a8d576b24bb311c458f18d Mon Sep 17 00:00:00 2001 From: ry4000 <154689120+ry4000@users.noreply.github.com> Date: Mon, 3 Nov 2025 15:23:39 +1100 Subject: [PATCH] R&Y: Test Update to `cmdhfmfdes.c` Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com> --- client/src/cmdhfmfdes.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/cmdhfmfdes.c b/client/src/cmdhfmfdes.c index 529c062f7..fcf88fe86 100644 --- a/client/src/cmdhfmfdes.c +++ b/client/src/cmdhfmfdes.c @@ -2232,14 +2232,14 @@ static int CmdHF14ADesBruteApps(const char *Cmd) { break; } - float progress = 100.000 * (float)(id - idStart) / ((float)(idEnd - idStart)); - PrintAndLogEx(INPLACE, "Brute DESFire AID Progress " _YELLOW_("%0.1ff") " %% current AID: %06X", progress, id); + float progress = 100.0 * (float)(id - idStart) / ((float)(idEnd - idStart)); + PrintAndLogEx(INPLACE, "Brute DESFire AID Progress " _YELLOW_("%0.001f") " %% current AID: %06X", progress, id); res = DesfireSelectAIDHexNoFieldOn(&dctx, id); if (res == PM3_SUCCESS) { printf("\33[2K\r"); // clear current line before printing - PrintAndLogEx(SUCCESS, "Found New DESFire Application ID " _GREEN_("%06X"), id); + PrintAndLogEx(SUCCESS, "Found New DESFire AID " _GREEN_("%06X"), id); } }