Fix --benchmark-all on windows

pull/1842/head
jsteube 5 years ago
parent 8613e2fc81
commit 8afb54a93b

@ -63,7 +63,11 @@ int benchmark_next (hashcat_ctx_t *hashcat_ctx)
for (int i = cur; i < 99999; i++)
{
#if defined (_WIN)
snprintf (modulefile, HCBUFSIZ_TINY, "%s/modules/module_%05d.dll", folder_config->shared_dir, i);
#else
snprintf (modulefile, HCBUFSIZ_TINY, "%s/modules/module_%05d.so", folder_config->shared_dir, i);
#endif
if (hc_path_exist (modulefile) == true)
{

Loading…
Cancel
Save