g++
This is an alias of gcc.
Shell
This executable can spawn an interactive system shell.
- This function can be performed by any unprivileged user.
gcc -wrapper /bin/sh,-s xThis function is performed by the privileged user if executed viasudobecause the acquired privileges are not dropped.gcc -wrapper /bin/sh,-s x
File write
This executable can write data to local files.
- This function can be performed by any unprivileged user.
gcc -x c /dev/null -o /path/to/input-fileThis function is performed by the privileged user if executed viasudobecause the acquired privileges are not dropped.gcc -x c /dev/null -o /path/to/input-file
File read
This executable can read data from local files.
- This function can be performed by any unprivileged user.
gcc -x c -E /path/to/input-fileThis function is performed by the privileged user if executed viasudobecause the acquired privileges are not dropped.gcc -x c -E /path/to/input-file - This function can be performed by any unprivileged user.
gcc @/path/to/input-fileThis function is performed by the privileged user if executed viasudobecause the acquired privileges are not dropped.gcc @/path/to/input-file