mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-08-23 17:44:49 +02:00
@@ -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.
|
||||||
|
Reference in New Issue
Block a user