1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-20 10:53:35 +02:00
GTFOBins.github.io/_gtfobins/chmod.md
2018-10-05 18:55:38 +01:00

297 B

description functions
This can be run with elevated privileges to change permissions and then read, write, or execute a file.
suid sudo
code
LFILE=file_to_change ./chmod 0777 $LFILE
code
LFILE=file_to_change sudo chmod 0777 $LFILE