1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-22 16:18:09 +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:
jsteube 2017-01-05 16:15:12 +01:00
parent ad42dd59ac
commit b3067680a7
2 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@
##
- Files: Use $HEX[...] in case the password includes the separater character, increases potfile reading performance
- Files: If the user specifies a folder to scan for wordlists instead of directly a wordlist, then ignore the hidden files
- Loopback: Include passwords for removed hashes present in the potfile to next loopback iteration
- New option --progress-only: Quickly provides ideal progress step size and time to process on the user hashes and selected options, then quit
- Status screen: Reenabled automatic status screen display in case of stdin used

View File

@ -154,7 +154,7 @@ char *first_file_in_directory (const char *path)
#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;
first_file = strdup (de->d_name);