From d9ed8db027f1fe8f168e04b7e1028e1d21e89a57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Baylac-Jacqu=C3=A9?= Date: Thu, 29 Mar 2018 15:56:04 +0200 Subject: [PATCH] Set appropriate permissions for keylogger file. --- scripts/start-ultimatewriter | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/start-ultimatewriter b/scripts/start-ultimatewriter index 9771e55..124eb85 100644 --- a/scripts/start-ultimatewriter +++ b/scripts/start-ultimatewriter @@ -1,3 +1,3 @@ #!/bin/sh -/usr/bin/touch /tmp/keylogger.log && /usr/local/bin/logkeys --start --output /tmp/keylogger.log --no-timestamps +/usr/bin/touch /tmp/keylogger.log && /bin/chmod 600 /tmp/keylogger.log && /usr/local/bin/logkeys --start --output /tmp/keylogger.log --no-timestamps /usr/bin/tail -f /tmp/keylogger.log | /usr/local/bin/writerpi