GTFOBins.github.io/_gtfobins/sg.md
Andrea Cardaci 09c2605f84
Simplify sg
2021-02-16 09:01:05 +01:00

11 lines
235 B
Markdown

---
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
---