aboutsummaryrefslogtreecommitdiff
path: root/bin/nwatch
diff options
context:
space:
mode:
Diffstat (limited to 'bin/nwatch')
-rwxr-xr-xbin/nwatch3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/nwatch b/bin/nwatch
index 6b176b6..c1b3e5a 100755
--- a/bin/nwatch
+++ b/bin/nwatch
@@ -25,6 +25,9 @@
# License: GPLv2 (same as Nmap itself)
#
+# Defensive umask by default; change at your own risk!
+umask 0077
+
# Some fixed values
self=nwatch
hostlist=${1:?}