Last active
June 25, 2022 16:42
-
-
Save jscheid/822b044ba9eed701a951540a49547f28 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM drakkan/sftpgo | |
USER root | |
RUN apt-get update && apt-get install -y bsdmainutils | |
RUN echo foo > $HOME/a && ln -sf $HOME/a $HOME/x | |
RUN ls -ld $HOME/x && bash -c '((printf "\x00\x00\x00\x05\x01\x00\x00\x00\x06" && printf "\x00\x00\x00\x0f\x11\x00\x00\x00\x01\x00\x00\x00\x02/x\x00\x00\x00\x00" && sleep 1 && printf "\x00\x00\x00\x0b\x10\x00\x00\x00\x02\x00\x00\x00\x02/x" && sleep 1) | sftpgo startsubsys | hexdump -C) && exit 10' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment