diff --git a/src/benchmark.c b/src/benchmark.c index b4ed03989..b76c6d5d6 100644 --- a/src/benchmark.c +++ b/src/benchmark.c @@ -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) {