Merge pull request #168 from sleestakoverflow/patch-1

Add sg
This commit is contained in:
Andrea Cardaci 2021-02-16 09:01:29 +01:00 committed by GitHub
commit 47bc7c0ae5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

10
_gtfobins/sg.md Normal file
View 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
---