projects
/
hashcat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9e92c9c
)
Use umask(077), mainly to secure hashcat.pot from reading from other users, but shoul...
author
Jens Steube
<jens.steube@gmail.com>
Wed, 18 May 2016 07:56:23 +0000
(09:56 +0200)
committer
Jens Steube
<jens.steube@gmail.com>
Wed, 18 May 2016 07:56:23 +0000
(09:56 +0200)
src/hashcat.c
patch
|
blob
|
history
diff --git
a/src/hashcat.c
b/src/hashcat.c
index
c311e1c
..
ff33c72
100644
(file)
--- a/
src/hashcat.c
+++ b/
src/hashcat.c
@@
-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
*/