1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2026-03-08 06:56:15 +01:00
GTFOBins.github.io/_gtfobins/needrestart
2026-02-22 14:08:13 +01:00

14 lines
241 B
Plaintext

---
functions:
inherit:
- code: |-
echo '...' >/path/to/temp-file
needrestart -c /path/to/temp-file
comment: |-
This allows to run Perl code (`...`).
contexts:
sudo:
unprivileged:
from: perl
...