Files
GTFOBins.github.io/_gtfobins/sg.md
SleestakOverflow ec7633d6bc Update sg.md
2021-02-15 21:57:15 -06:00

637 B

functions
functions
shell command sudo
description code
Commands can be run if the current user's group is specified, therefore no additional permissions are needed. GROUPNAME=users sg $GROUPNAME -c "/bin/sh"
description code
Commands can be run if the current user's group is specified, therefore no additional permissions are needed. COMMAND=whoami GROUPNAME=users sg $GROUPNAME -c $COMMAND
description code
Any group can be specified as the user will have root permissions. GROUPNAME=users sudo sg $GROUPNAME -c "/bin/sh"