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/chmod
2025-12-31 12:55:21 +01:00

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:
...