mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-19 21:03:23 -07:00
Fix width of 'N keys left' message
This commit is contained in:
parent
ed58af887c
commit
f3d287b9ad
1 changed files with 1 additions and 1 deletions
|
@ -479,7 +479,7 @@ int mfnested(uint8_t blockNo, uint8_t keyType, uint8_t *key, uint8_t trgBlockNo,
|
||||||
brute_force_per_second = ((float)i) / (((float)(msclock() - start_time)) / 1000.0);
|
brute_force_per_second = ((float)i) / (((float)(msclock() - start_time)) / 1000.0);
|
||||||
brute_force_time = ((float)(statelists[0].len - i)) / brute_force_per_second;
|
brute_force_time = ((float)(statelists[0].len - i)) / brute_force_per_second;
|
||||||
next_print_time = msclock() + 10 * 1000;
|
next_print_time = msclock() + 10 * 1000;
|
||||||
PrintAndLog("| %d keys left | % 3.3f keys/sec | worst case % 4.1f seconds remaining |", statelists[0].len - i, brute_force_per_second, brute_force_time);
|
PrintAndLog("| % 6d keys left | % 3.3f keys/sec | worst case % 4.1f seconds remaining |", statelists[0].len - i, brute_force_per_second, brute_force_time);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((i+max_keys) >= statelists[0].len)
|
if ((i+max_keys) >= statelists[0].len)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue