From e50f44521ec2656dcfeda2df433587ca31fd41d8 Mon Sep 17 00:00:00 2001 From: Andrea Cardaci Date: Mon, 16 Jul 2018 13:37:17 +0200 Subject: [PATCH] Improve crontab --- _gtfobins/crontab.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/_gtfobins/crontab.md b/_gtfobins/crontab.md index c431725..12ac6ae 100644 --- a/_gtfobins/crontab.md +++ b/_gtfobins/crontab.md @@ -1,7 +1,9 @@ --- functions: + execute-non-interactive: + - description: The commands are executed according to the crontab file edited via the `crontab` utility. + code: crontab -e sudo-enabled: - - description: edit root's crontab and run arbitrary commands as root. - code: | - sudo crontab -e + - description: The commands are executed according to the crontab file edited via the `crontab` utility. + code: sudo crontab -e ---