mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-08-23 17:44:49 +02:00
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
|
||||
---
|
Reference in New Issue
Block a user