mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-14 03:03:14 +08:00
CHG: trying to figure out why I can't get the seconds out..
This commit is contained in:
parent
53b3c3e816
commit
1e2bb9c9f4
1 changed files with 3 additions and 3 deletions
|
@ -1687,12 +1687,12 @@ static void brute_force(void)
|
|||
|
||||
time(&end);
|
||||
double elapsed_time = difftime(end, start);
|
||||
PrintAndLog("");
|
||||
PrintAndLog("ICE %.f seconds", elapsed_time);
|
||||
if(keys_found){
|
||||
PrintAndLog("Success! Tested %"PRIu64" states, found %u keys after %.f seconds", total_states_tested, keys_found, elapsed_time);
|
||||
PrintAndLog("Success! Tested %"PRIu32" states, found %u keys after %.f seconds", total_states_tested, keys_found, elapsed_time);
|
||||
PrintAndLog("\nFound key: %012"PRIx64"\n", foundkey);
|
||||
} else {
|
||||
PrintAndLog("Fail! Tested %"PRIu64" states, in %.f seconds", total_states_tested, elapsed_time);
|
||||
PrintAndLog("Fail! Tested %"PRIu32" states, in %.f seconds", total_states_tested, elapsed_time);
|
||||
}
|
||||
// reset this counter for the next call
|
||||
nonces_to_bruteforce = 0;
|
||||
|
|
Loading…
Reference in a new issue