FIX: bug in nextwatch demod, which if the found psk bits was smaller than the preamble the client crashed.

REM: removed some debugstatements
This commit is contained in:
iceman1001 2016-09-01 16:09:31 +02:00
commit 56d0fb8e4d
3 changed files with 14 additions and 9 deletions

View file

@ -1687,7 +1687,7 @@ static void brute_force(void)
time(&end);
double elapsed_time = difftime(end, start);
PrintAndLog("ICE %.f seconds", elapsed_time);
if(keys_found){
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);