diff --git a/_gtfobins/sg.md b/_gtfobins/sg.md new file mode 100644 index 0000000..c0d1150 --- /dev/null +++ b/_gtfobins/sg.md @@ -0,0 +1,10 @@ +--- +functions: + shell: + - description: Commands can be run if the current user's group is specified, therefore no additional permissions are needed. + code: | + sg $(id -ng) + sudo: + - code: | + sudo sg root +---