Update cmdhficlass.c

Signed-off-by: Antiklesys <syselkitna@gmail.com>
This commit is contained in:
Antiklesys 2025-06-06 11:34:23 +08:00 committed by GitHub
commit a79b1b9e82
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4659,7 +4659,7 @@ static void *brute_thread(void *args_void) {
if (index % 1000000 == 0 && !*(args->found)) { if (index % 1000000 == 0 && !*(args->found)) {
pthread_mutex_lock(args->log_lock); pthread_mutex_lock(args->log_lock);
if(args->thread_id == 0){ if(args->thread_id == 0){
PrintAndLogEx(INPLACE, "Tested "_YELLOW_("%" PRIu64 )" million keys, using "_YELLOW_("%d")" threads - Index: " _YELLOW_("%d") " - Last key on Thread[0]: %s", (index / 1000000) * args->thread_count, args->thread_count, index / 1000000, sprint_hex(div_key, 8)); PrintAndLogEx(INPLACE, "Tested "_YELLOW_("%d")" million keys, using "_YELLOW_("%d")" threads - Index: " _YELLOW_("%d") " - Last key on Thread[0]: %s", (index / 1000000) * args->thread_count, args->thread_count, index / 1000000, sprint_hex(div_key, 8));
} }
pthread_mutex_unlock(args->log_lock); pthread_mutex_unlock(args->log_lock);
} }