1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-22 14:48:12 +00:00

Usage Screen: On windows console, wait for any keypress if usage_mini_print() is used

This commit is contained in:
Jens Steube 2021-11-26 09:53:42 +01:00
parent 1458f8fa8d
commit 5389adff81
3 changed files with 18 additions and 0 deletions

View File

@ -1,5 +1,11 @@
* changes v6.2.5 -> v6.2.x
##
## Technical
##
- Usage Screen: On windows console, wait for any keypress if usage_mini_print() is used
* changes v6.2.4 -> v6.2.5
##

View File

@ -9,6 +9,11 @@
#include <stdio.h>
#include <string.h>
#if defined (_WIN)
// for getch()
#include <conio.h>
#endif
typedef struct usage_sort
{
u32 hash_mode;

View File

@ -283,6 +283,13 @@ void usage_mini_print (const char *progname)
fwrite (EOL, strlen (EOL), 1, stdout);
}
#if defined (_WIN)
printf ("\n");
printf ("Press any key to exit\n");
getch();
#endif
}
void usage_big_print (hashcat_ctx_t *hashcat_ctx)