mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2026-03-07 14:36:23 +01:00
12 lines
311 B
Plaintext
12 lines
311 B
Plaintext
---
|
|
functions:
|
|
privilege-escalation:
|
|
- code: |-
|
|
install -m 6777 /path/to/input-file /path/to/output-dir/
|
|
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:
|
|
...
|