mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Update vim
Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
This commit is contained in:
parent
3cdfea5714
commit
61f79ef933
@ -2,10 +2,7 @@
|
|||||||
functions:
|
functions:
|
||||||
shell:
|
shell:
|
||||||
- code: vim -c ':!/bin/sh'
|
- code: vim -c ':!/bin/sh'
|
||||||
- code: |
|
- code: vim --cmd ':set shell=/bin/sh|:shell'
|
||||||
vim
|
|
||||||
:set shell=/bin/sh
|
|
||||||
:shell
|
|
||||||
- description: This requires that `vim` is compiled with Python support. Prepend `:py3` for Python 3.
|
- description: This requires that `vim` is compiled with Python support. Prepend `:py3` for Python 3.
|
||||||
code: vim -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'
|
code: vim -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'
|
||||||
- description: This requires that `vim` is compiled with Lua support.
|
- description: This requires that `vim` is compiled with Lua support.
|
||||||
|
Loading…
Reference in New Issue
Block a user