R&Y: Update Progress Interval in cmdhfmfdes.c

`hf mfdes bruteaid` progress will intervally show the bruteforce AID progress from 0.0% to 100.0%. Other text updates have also been made.

Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com>
This commit is contained in:
ry4000
2025-11-03 15:36:16 +11:00
committed by GitHub
parent a2d22fd3c4
commit e71e0cf46f
+2 -2
View File
@@ -2233,7 +2233,7 @@ static int CmdHF14ADesBruteApps(const char *Cmd) {
}
float progress = 100.0 * (float)(id - idStart) / ((float)(idEnd - idStart));
PrintAndLogEx(INPLACE, "Brute DESFire AID Progress " _YELLOW_("%0.001f") " %% current AID: %06X", progress, id);
PrintAndLogEx(INPLACE, "Brute DESFire AID Progress " _YELLOW_("%0.1f") " %% current AID: %06X", progress, id);
res = DesfireSelectAIDHexNoFieldOn(&dctx, id);
@@ -2251,7 +2251,7 @@ static int CmdHF14ADesBruteApps(const char *Cmd) {
// MIAFRE DESFire Authentication
// keys:
// NR DESC KEYLENGHT
// NR DESC KEYLENGTH
// ------------------------
// 1 = DES 8
// 2 = 3DES 16