This executable can run non-interactive system commands.
This function can be performed by any unprivileged user.
echo /path/to/command >/path/to/temp-file
chmod +x /path/to/temp-file
tcpdump -ln -i lo -w /dev/null -W 1 -G 1 -z /path/to/temp-file
This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
echo /path/to/command" >/path/to/temp-file
chmod +x /path/to/temp-file
tcpdump -ln -i lo -w /dev/null -W 1 -G 1 -z /path/to/temp-file -Z root
This function can be performed by any unprivileged user.
tcpdump -ln -i lo -w 'command-argument' -W 1 -G 1 -z /path/to/command
This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
tcpdump -ln -i lo -w 'command-argument' -W 1 -G 1 -z /path/to/command
This executable can write data to local files.
This function can be performed by any unprivileged user.
tcpdump -ln -i lo -w /path/to/output-file -c 1 -Z user
This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
tcpdump -ln -i lo -w /path/to/output-file -c 1 -Z user
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.
tcpdump -ln -i lo -w /path/to/output-file -c 1 -Z user