mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +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