if ((quiet == 0) && (debug_file == NULL))
{
fprintf (stdout, "%s", PROMPT);
+
fflush (stdout);
}
}
{
clear_prompt ();
- log_info ("");
+ //log_info ("");
log_info ("INFO: approaching final keyspace, workload adjusted");
-
log_info ("");
fprintf (stdout, "%s", PROMPT);
if (benchmark == 1)
{
log_info ("%s (%s) starting in benchmark-mode...", PROGNAME, VERSION_TAG);
-
log_info ("");
}
else if (restore == 1)
{
log_info ("%s (%s) starting in restore-mode...", PROGNAME, VERSION_TAG);
-
log_info ("");
}
else
{
log_info ("%s (%s) starting...", PROGNAME, VERSION_TAG);
-
log_info ("");
}
}
{
log_info ("Watchdog: Temperature retain trigger set to %uc", gpu_temp_retain);
}
+
+ if (data.quiet == 0) log_info ("");
#endif
}
- if (data.quiet == 0) log_info ("");
-
/**
* HM devices: copy
*/
if (benchmark == 1) log_info ("Hashmode: %d", data.hash_mode);
#endif
+ if (data.quiet == 0) log_info_nn ("Initializing device kernels and memory...");
+
uint kernel_power_all = 0;
for (uint device_id = 0; device_id < data.devices_cnt; device_id++)
}
}
- if (quiet == 0) log_info ("");
-
for (uint tmto = tmto_start; tmto < tmto_stop; tmto++)
{
// TODO: in theory the following calculation needs to be done per salt, not global
return -1;
}
- if (quiet == 0) log_info ("");
if (quiet == 0) log_info ("SCRYPT tmto optimizer value set to: %u, mem: %u\n", data.salts_buf[0].scrypt_tmto, size_scryptV);
}
if (rc != 0)
{
device_param->skipped = true;
+
log_info ("Device #%u: Kernel %s build failure. Proceed without this device.", device_id + 1, source_file);
+
continue;
}
}
else
{
- if (quiet == 0) log_info ("Device #%u: Kernel %s (%ld bytes)", device_id + 1, cached_file, cst.st_size);
+ #ifdef DEBUG
+ log_info ("Device #%u: Kernel %s (%ld bytes)", device_id + 1, cached_file, cst.st_size);
+ #endif
load_kernel (cached_file, 1, kernel_lengths, kernel_sources);
}
else
{
- if (quiet == 0) log_info ("Device #%u: Kernel %s (%ld bytes)", device_id + 1, source_file, sst.st_size);
+ #ifdef DEBUG
+ log_info ("Device #%u: Kernel %s (%ld bytes)", device_id + 1, source_file, sst.st_size);
+ #endif
load_kernel (source_file, 1, kernel_lengths, kernel_sources);
if (cached == 0)
{
if (quiet == 0) log_info ("Device #%u: Kernel %s not found in cache! Building may take a while...", device_id + 1, cached_file);
+ if (quiet == 0) log_info ("");
load_kernel (source_file, 1, kernel_lengths, kernel_sources);
if (rc != 0)
{
device_param->skipped = true;
+
log_info ("Device #%u: Kernel %s build failure. Proceed without this device.", device_id + 1, source_file);
+
continue;
}
}
else
{
- if (quiet == 0) log_info ("Device #%u: Kernel %s (%ld bytes)", device_id + 1, cached_file, cst.st_size);
+ #ifdef DEBUG
+ log_info ("Device #%u: Kernel %s (%ld bytes)", device_id + 1, cached_file, cst.st_size);
+ #endif
load_kernel (cached_file, 1, kernel_lengths, kernel_sources);
if (cached == 0)
{
if (quiet == 0) log_info ("Device #%u: Kernel %s not found in cache! Building may take a while...", device_id + 1, cached_file);
+ if (quiet == 0) log_info ("");
load_kernel (source_file, 1, kernel_lengths, kernel_sources);
if (rc != 0)
{
device_param->skipped = true;
+
log_info ("Device #%u: Kernel %s build failure. Proceed without this device.", device_id + 1, source_file);
+
continue;
}
}
else
{
+ #ifdef DEBUG
if (quiet == 0) log_info ("Device #%u: Kernel %s (%ld bytes)", device_id + 1, cached_file, cst.st_size);
+ #endif
load_kernel (cached_file, 1, kernel_lengths, kernel_sources);
data.kernel_power_all = kernel_power_all;
- if (data.quiet == 0) log_info ("");
+ if (data.quiet == 0) log_info_nn ("");
/**
* In benchmark-mode, inform user which algorithm is checked
{
weak_hash_check (device_param, salt_pos);
}
- }
- // Display hack, guarantee that there is at least one \r before real start
+ // Display hack, guarantee that there is at least one \r before real start
- if (data.quiet == 0) log_info_nn ("");
+ //if (data.quiet == 0) log_info ("");
+ }
/**
* status and monitor threads
{
if (quiet == 0)
{
- log_info ("");
log_info ("ATTENTION!");
log_info (" The wordlist or mask you are using is too small.");
log_info (" Therefore, hashcat is unable to utilize the full parallelization power of your device(s).");