mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 14:59:44 +01:00
13 lines
313 B
Markdown
13 lines
313 B
Markdown
|
---
|
||
|
description: This can be run with elevated privileges to change permissions and then read, write, or execute a file.
|
||
|
functions:
|
||
|
suid-enabled:
|
||
|
- code: |
|
||
|
LFILE=file_to_change
|
||
|
./chmod 0777 $LFILE
|
||
|
sudo-enabled:
|
||
|
- code: |
|
||
|
LFILE=file_to_change
|
||
|
sudo chmod 0777 $LFILE
|
||
|
---
|