GTFOBins.github.io/_gtfobins/chmod.md
2018-09-05 17:59:07 +01:00

313 B

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