mirror of
https://github.com/hashcat/hashcat.git
synced 2025-05-24 09:48:47 +00:00
Fix --benchmark-all on windows
This commit is contained in:
parent
8613e2fc81
commit
8afb54a93b
@ -63,7 +63,11 @@ int benchmark_next (hashcat_ctx_t *hashcat_ctx)
|
|||||||
|
|
||||||
for (int i = cur; i < 99999; i++)
|
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);
|
snprintf (modulefile, HCBUFSIZ_TINY, "%s/modules/module_%05d.so", folder_config->shared_dir, i);
|
||||||
|
#endif
|
||||||
|
|
||||||
if (hc_path_exist (modulefile) == true)
|
if (hc_path_exist (modulefile) == true)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user