mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2026-01-31 13:13:37 +01:00
commit
47bc7c0ae5
10
_gtfobins/sg.md
Normal file
10
_gtfobins/sg.md
Normal file
@ -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
|
||||
---
|
||||
Loading…
Reference in New Issue
Block a user