mirror of
https://github.com/hashcat/hashcat
synced 2024-12-30 20:16:22 +01:00
Use umask(077), mainly to secure hashcat.pot from reading from other users, but should be a good idea for all files. See https://github.com/hashcat/oclHashcat/issues/331 for details
This commit is contained in:
parent
9e92c9c4d9
commit
f5ee678bbe
@ -5251,6 +5251,8 @@ int main (int argc, char **argv)
|
||||
if (getenv ("POCL_KERNEL_CACHE") == NULL)
|
||||
putenv ((char *) "POCL_KERNEL_CACHE=0");
|
||||
|
||||
umask (077);
|
||||
|
||||
/**
|
||||
* Real init
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user