mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2026-03-08 06:56:15 +01:00
12 lines
270 B
Plaintext
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:
|
|
...
|