GTFO · Tool
cp
file-read
file-read
file-write
file-write
file-write
privilege-escalation
This can be used to copy and then read or write files from a restricted file systems or with elevated privileges. (The GNU version of `cp` has the `--parents` option that can be used to also create the directory hierarchy specified in the source path, to the destination folder.)
privilege-escalation
This can be used to copy and then read or write files from a restricted file systems or with elevated privileges. (The GNU version of `cp` has the `--parents` option that can be used to also create the directory hierarchy specified in the source path, to the destination folder.)
privilege-escalation
This can copy SUID permissions from any SUID binary (e.g., `/path/to/input-file`) to another.
privilege-escalation
This can copy SUID permissions from any SUID binary (e.g., `/path/to/input-file`) to another.