mirror of
https://github.com/hashcat/hashcat.git
synced 2025-06-25 01:18:57 +00:00
If the user specifies a folder to scan for wordlists instead of directly a wordlist, then ignore the hidden files
This commit is contained in:
parent
b3067680a7
commit
45daaab6ac
@ -217,7 +217,7 @@ char **scan_directory (const char *path)
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if ((strncmp (de->d_name, ".", strlen (de->d_name)) == 0) || (strncmp (de->d_name, "..", strlen (de->d_name)) == 0)) continue;
|
if (de->d_name[0] == '.') continue;
|
||||||
|
|
||||||
char *path_file;
|
char *path_file;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user