This website requires JavaScript.
Explore
Help
Register
Sign In
daffainfo
/
GTFOBins.github.io
mirror of
https://github.com/daffainfo/GTFOBins.github.io.git
Watch
1
Star
0
Fork
You've already forked GTFOBins.github.io
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
b922c960fb
GTFOBins.github.io
/
_gtfobins
/
chmod.md
325 B
Raw
Blame
History
description
functions
This can be run with elevated privileges to change permissions (`6` denotes the SUID bits) and then read, write, or execute a file.
suid
sudo
code
LFILE=file_to_change ./chmod 6777 $LFILE
code
LFILE=file_to_change sudo chmod 6777 $LFILE