1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2026-03-07 14:36:23 +01:00
GTFOBins.github.io/_gtfobins/update-alternatives
2026-01-14 01:18:58 +01:00

13 lines
297 B
Plaintext

---
functions:
file-write:
- code: |-
echo DATA >/path/to/temp-file
update-alternatives --force --install /path/to/output-file x /path/to/temp-file 0
comment: |-
Write in `/path/to/output-file` a symlink to `/path/to/temp-file`.
contexts:
sudo:
suid:
...