From ec7633d6bc0246e449d8525b98ef7585a2901bd0 Mon Sep 17 00:00:00 2001 From: SleestakOverflow <75267249+sleestakoverflow@users.noreply.github.com> Date: Mon, 15 Feb 2021 21:57:15 -0600 Subject: [PATCH] Update sg.md --- _gtfobins/sg.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_gtfobins/sg.md b/_gtfobins/sg.md index 553d4eb..449c712 100644 --- a/_gtfobins/sg.md +++ b/_gtfobins/sg.md @@ -1,6 +1,6 @@ --- functions: - shell: + shell: - description: Commands can be run if the current user's group is specified, therefore no additional permissions are needed. code: | GROUPNAME=users @@ -8,7 +8,7 @@ functions: command: - description: Commands can be run if the current user's group is specified, therefore no additional permissions are needed. code: | - COMMAND=whoami + COMMAND=whoami GROUPNAME=users sg $GROUPNAME -c $COMMAND sudo: