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

12 lines
270 B
Plaintext

---
functions:
privilege-escalation:
- code: |-
chown $(id -un):$(id -gn) /path/to/input-file
comment: |-
This can be run with elevated privileges to change ownership and then read, write, or execute a file.
contexts:
sudo:
suid:
...