From 66844f9cc45d6e9512018fb2940419264abb48e8 Mon Sep 17 00:00:00 2001 From: Andrea Cardaci Date: Mon, 5 Nov 2018 16:41:04 +0100 Subject: [PATCH] Fix YAML format in start-stop-daemon --- _gtfobins/start-stop-daemon.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/_gtfobins/start-stop-daemon.md b/_gtfobins/start-stop-daemon.md index 6e13a5d..b447acb 100644 --- a/_gtfobins/start-stop-daemon.md +++ b/_gtfobins/start-stop-daemon.md @@ -3,9 +3,7 @@ functions: shell: - code: start-stop-daemon -n $RANDOM -S -x /bin/sh suid: - - code: | - ./start-stop-daemon -n $RANDOM -S -x /bin/sh -- -p + - code: ./start-stop-daemon -n $RANDOM -S -x /bin/sh -- -p sudo: - - code: | - sudo start-stop-daemon -n $RANDOM -S -x /bin/sh + - code: sudo start-stop-daemon -n $RANDOM -S -x /bin/sh ---