Files

12 lines
285 B
Plaintext

---
functions:
privilege-escalation:
- code: |-
chmod 6777 /path/to/input-file
comment: |-
This can be run with elevated privileges to change permissions (`6` denotes the SUID bits) and then read, write, or execute a file.
contexts:
sudo:
suid:
...