mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user